.vimrc

changeset 460
387cbc327abb
parent 458
cb65d7e5caf2
child 462
a1901234cc42
equal deleted inserted replaced
459:efa21f0b1dca 460:387cbc327abb
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 175 " Tabular shortcuts
176 map <leader>ta :Tabularize first_arrow<CR>
176 map <leader>te :Tabularize first_eq<CR> 177 map <leader>te :Tabularize first_eq<CR>
177 map <leader>ta :Tabularize first_arrow<CR> 178 map <leader>tc :Tabularize /:\zs<CR>
178 map <leader>tm :Tabularize methods<CR> 179 map <leader>tm :Tabularize methods<CR>
179 180
180 function! AutoFmtToggle() 181 function! AutoFmtToggle()
181 if &formatoptions =~ 'a' 182 if &formatoptions =~ 'a'
182 setl fo-=a 183 setl fo-=a

mercurial