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 |