X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/3e59c20a7a476d0b704c2cc1b377b9b10be0640a..4f4ac88afff1c5a331c5f50b2b9e1af005c0ae93:/vim/vimrc diff --git a/vim/vimrc b/vim/vimrc index 145b8ce..7338d4d 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -213,7 +213,6 @@ set viewoptions=cursor " only save cursor position " diff mode {{{2 set diffopt+=filler " show filler lines set diffopt+=vertical " always vertical split -set diffopt+=iwhite " ignore white space set diffopt+=context:10 " 10 lines context between changes " reading and writing files {{{2 @@ -436,6 +435,7 @@ nnoremap zx zMzxzt map :ls:b +" move between windows nnoremap w nnoremap W @@ -543,13 +543,13 @@ nmap cog IndentGuidesToggle nmap [og IndentGuidesEnable nmap ]og IndentGuidesDisable -" quit-another-window {{{2 +" close-another-window {{{2 nnoremap c nnoremap cc c -nnoremap ch :Qh -nnoremap cl :Ql -nnoremap cj :Qj -nnoremap ck :Qk +nnoremap ch :CloseLeftWindow +nnoremap cl :CloseRightWindow +nnoremap cj :CloseBelowWindow +nnoremap ck :CloseAboveWindow " python-mode {{{2