set fo=tcrq
set textwidth=80
set number
set shiftwidth=4
set tabstop=4
set expandtab
set autoindent
set backspace=indent,eol,start
set shiftround
set nocompatible
map ^V^? x
map!
syntax on
set backspace=2
set ignorecase
set incsearch
set history=500
set showbreak=\ \ \ \ \ \ \ \\
set smartcase
set smartindent
set smarttab
set tabstop=4
set whichwrap=b,s,h,l,<,>,[,]
set hidden
set viminfo='5,"100
function! InsertTabWrapper()
let col = col('.') - 1
if !col || getline('.')[col - 1] !~ '\k'
return "\"
else
return "\"
endif
endfunction
inoremap =InsertTabWrapper()
inoremap =InsertTabWrapper ("backward")
autocmd FileType perl set makeprg=perl\ -c\ %\ $*
autocmd FileType perl set errorformat=%f:%l:%m
autocmd FileType perl set autowrite
let perl_extended_vars = 1