Adjust split bindings

master
Hektor Misplon 2020-12-10 15:01:49 +01:00
parent a38bca749e
commit 52b056ee9d
1 changed files with 9 additions and 6 deletions

15
.vimrc
View File

@ -47,18 +47,21 @@ let maplocalleader = ";"
nmap ss :sp<Return><c-w>w nmap ss :sp<Return><c-w>w
nmap sv :vs<Return><c-w>w nmap sv :vs<Return><c-w>w
" Navigate splits " Navigate splits
nnoremap sw <c-w>w nnoremap sw <c-w>w
nnoremap sh <c-w>h nnoremap sh <c-w>h
nnoremap sj <c-w>j nnoremap sj <c-w>j
nnoremap sk <c-w>k nnoremap sk <c-w>k
nnoremap sl <c-w>l nnoremap sl <c-w>l
" Resize splits " Resize splits
nnoremap sH <C-w>8< nnoremap sH <c-w>8<
nnoremap sJ <C-w>8- nnoremap sJ <c-w>8-
nnoremap sK <C-w>8+ nnoremap sK <c-w>8+
nnoremap sL <C-w>8> nnoremap sL <c-w>8>
" Resize to equal splits
nnoremap s= <c-w>=
" Keybindings: file tree " Keybindings: file tree