.vimrc

changeset 424
3f116b7f4d3e
parent 422
7b3ba9962a9d
child 425
e23906d13a57
equal deleted inserted replaced
423:dd1863db6d31 424:3f116b7f4d3e
170 " K: doc, gK: Doc w/o using syntax hints, gKK: doc current filename 170 " K: doc, gK: Doc w/o using syntax hints, gKK: doc current filename
171 nmap K :call ViewDoc('doc', '<cword>')<CR> 171 nmap K :call ViewDoc('doc', '<cword>')<CR>
172 nmap gK :call ViewDoc('doc', expand('<cword>'))<CR> 172 nmap gK :call ViewDoc('doc', expand('<cword>'))<CR>
173 nmap gKK :call ViewDoc('doc', expand('%'))<CR> 173 nmap gKK :call ViewDoc('doc', expand('%'))<CR>
174 174
175 " Tabular shortcuts
176 map <leader>te :Tabularize first_eq<CR>
177 map <leader>ta :Tabularize first_arrow<CR>
175 178
176 function! AutoFmtToggle() 179 function! AutoFmtToggle()
177 if &formatoptions =~ 'a' 180 if &formatoptions =~ 'a'
178 setl fo-=a 181 setl fo-=a
179 echo '-a' 182 echo '-a'

mercurial