Add tabular maps

Sun, 23 Oct 2016 01:01:01 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 23 Oct 2016 01:01:01 -0400
changeset 424
3f116b7f4d3e
parent 423
dd1863db6d31
child 425
e23906d13a57

Add tabular maps

.vimrc file | annotate | diff | comparison | revisions
--- a/.vimrc
+++ b/.vimrc
@@ -172,6 +172,9 @@ nmap K   :call ViewDoc('doc', '<cword>')
 nmap gK  :call ViewDoc('doc', expand('<cword>'))<CR>
 nmap gKK :call ViewDoc('doc', expand('%'))<CR>
 
+" Tabular shortcuts
+map <leader>te :Tabularize first_eq<CR>
+map <leader>ta :Tabularize first_arrow<CR>
 
 function! AutoFmtToggle()
   if &formatoptions =~ 'a'

mercurial