summaryrefslogtreecommitdiff
path: root/dot/vimrc
blob: b560fd304ca1884e5cb68496140fdcc97ad8d138 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
set autoindent
set equalprg=expand\|par\ g1
set shiftwidth=2
" TODO: generalize to other tags
map  , ciw<em><ESC>p`]a</em><ESC>
vmap ,   c<em><ESC>p`]a</em><ESC>
map  , ciw'<ESC>p`]a'<ESC>
vmap ,   c'<ESC>p`]a'<ESC>
syntax enable
let g:VM_Enabled = 0
" call pathogen#runtime_append_all_bundles()

:au FileType perl map <buffer> K :!perldoc -f <cword>\|less<CR>

set listchars=precedes:«,extends:»,tab:»·,trail:·
set list
set et

autocmd FileType make setlocal noet ts=15