Added normal mode mapping as well

This allows you to do [count]<Leader>T eg.) 10\T (\ is the leader key on
my system). That will Tableize the next 10 lines into a table. Can be
faster than visual at times, also works faster if you want to tableize
just the current line (I know this is not a very useful scenario).
This commit is contained in:
Dhruva Sagar
2013-03-18 19:01:14 +05:30
parent a3aba5100e
commit ab11ee1035

View File

@@ -166,3 +166,4 @@ exec "inoremap <silent> " . s:table_mode_separator_map . ' ' .
command! -nargs=0 -range Tableize <line1>,<line2>call s:TableizeRange()
exec "xnoremap <silent> " . g:table_mode_tableize_map . " :Tableize<CR>"
exec "nnoremap <silent> " . g:table_mode_tableize_map . " :Tableize<CR>"