diff --git a/cli/vim/init.vim b/cli/vim/init.vim index 633982a..ccfb8de 100644 --- a/cli/vim/init.vim +++ b/cli/vim/init.vim @@ -50,6 +50,8 @@ noremap vnoremap p pgvy nnoremap q :qall +nnoremap v +nnoremap s :b# nnoremap 1 :b1 nnoremap 2 :b2 @@ -210,7 +212,7 @@ let g:ranger_map_keys = 0 " ==== netrw configuration ==== -nnoremap :e . +nnoremap :Explore autocmd BufEnter,BufRead nnoremap cg :call OpenRangerIn(system("git rev-parse --show-toplevel >/dev/null || pwd"), 'edit ') @@ -297,3 +299,5 @@ endfu nnoremap ac :call ToggleGroffMomAutoCompilation() autocmd BufEnter,BufRead *.mom :set ft=mom +" for yaml need cursorcolumn +autocmd FileType yaml :set cursorcolumn