-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
32 lines (28 loc) · 803 Bytes
/
.vimrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
set wrap
set tabstop=4
set autoindent
set shiftwidth=4
set wildchar=<tab>
let loaded_matchparen=1
set numberwidth=2
set number
if exists('+folding')
set foldmethod=marker
endif
set list
set listchars=tab:\|\
map <F2> :WMToggle<CR>
let Tlist_Inc_Winwidth = 0
map <F3> :Tlist<CR>
map <F12> :make<CR>
"let perl_fold=1
augroup filetypedetect
autocmd! BufNewFile,BufRead *.epl,*.phtml setf embperl
augroup END
autocmd BufNewFile,BufRead *.epl,*.phtml colorscheme embperl_yellow
" This is for perldoc.vim
autocmd BufNewFile,BufRead *.p? map <F1> :Perldoc<cword><CR>
autocmd BufNewFile,BufRead *.p? setf perl
autocmd BufNewFile,BufRead *.p? let g:perldoc_program='/usr/bin/perldoc'
autocmd BufNewFile,BufRead *.p? source /home/w7h/.vim/ftplugin/perl_doc.vim
autocmd BufNewFile,BufRead *.p? compiler perl