From ef7399810c5a7309fd94850497d2eb73181a2e4e Mon Sep 17 00:00:00 2001 From: Klesh Wong Date: Mon, 18 Jan 2021 00:30:21 +0800 Subject: [PATCH] [feature] shortcut for Windows Terminal --- cli/vim/init.vim | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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