nvim: Update Tabularize mappings

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
Sanchayan Maity 2020-01-21 21:27:59 +05:30
parent dd6334984a
commit 298cc6242e

View file

@ -352,10 +352,13 @@ nnoremap <C-\> :vsp <CR>:exec("tag ".expand("<cword>"))<CR>
nnoremap <A-]> :sp <CR>:exec("tag ".expand("<cword>"))<CR> nnoremap <A-]> :sp <CR>:exec("tag ".expand("<cword>"))<CR>
" Tabular helpers " Tabular helpers
vmap t= :Tabularize /=<CR> vnoremap <Leader>= :Tabularize /=<CR>
vmap t; :Tabularize /::<CR> vnoremap <Leader>- :Tabularize /-><CR>
vmap t- :Tabularize /-><CR> vnoremap <Leader>< :Tabularize /<-<CR>
vmap t: :Tabularize /:r1c1l0<CR> vnoremap <Leader>, :Tabularize /,<CR>
vnoremap <Leader># :Tabularize /#-}<CR>
vnoremap <Leader>: :Tabularize /::<CR>
vnoremap <Leader>[ :Tabularize /[<CR>
command! -bang -nargs=* GGrep command! -bang -nargs=* GGrep
\ call fzf#vim#grep( \ call fzf#vim#grep(