Add tab-by-colon shortcut

Wed, 28 Dec 2016 17:45:46 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 28 Dec 2016 17:45:46 -0500
changeset 460
387cbc327abb
parent 459
efa21f0b1dca
child 461
d5abcf2b7365

Add tab-by-colon shortcut

.vimrc file | annotate | diff | comparison | revisions
--- a/.vimrc
+++ b/.vimrc
@@ -173,8 +173,9 @@ nmap gK  :call ViewDoc('doc', expand('<c
 nmap gKK :call ViewDoc('doc', expand('%'))<CR>
 
 " Tabular shortcuts
+map <leader>ta :Tabularize first_arrow<CR>
 map <leader>te :Tabularize first_eq<CR>
-map <leader>ta :Tabularize first_arrow<CR>
+map <leader>tc :Tabularize /:\zs<CR>
 map <leader>tm :Tabularize methods<CR>
 
 function! AutoFmtToggle()

mercurial