mirror of
https://github.com/dhruvasagar/vim-table-mode.git
synced 2025-11-08 11:03:47 -05:00
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:
@@ -166,3 +166,4 @@ exec "inoremap <silent> " . s:table_mode_separator_map . ' ' .
|
|||||||
|
|
||||||
command! -nargs=0 -range Tableize <line1>,<line2>call s:TableizeRange()
|
command! -nargs=0 -range Tableize <line1>,<line2>call s:TableizeRange()
|
||||||
exec "xnoremap <silent> " . g:table_mode_tableize_map . " :Tableize<CR>"
|
exec "xnoremap <silent> " . g:table_mode_tableize_map . " :Tableize<CR>"
|
||||||
|
exec "nnoremap <silent> " . g:table_mode_tableize_map . " :Tableize<CR>"
|
||||||
|
|||||||
Reference in New Issue
Block a user