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>te :Tabularize first_eq<CR> |
176 map <leader>te :Tabularize first_eq<CR> |
177 map <leader>ta :Tabularize first_arrow<CR> |
177 map <leader>ta :Tabularize first_arrow<CR> |
|
178 map <leader>tm :Tabularize methods<CR> |
178 |
179 |
179 function! AutoFmtToggle() |
180 function! AutoFmtToggle() |
180 if &formatoptions =~ 'a' |
181 if &formatoptions =~ 'a' |
181 setl fo-=a |
182 setl fo-=a |
182 echo '-a' |
183 echo '-a' |