Created
October 11, 2017 08:15
-
-
Save franciscoj/e4415daa1887ea8ee9fb1a846514393b to your computer and use it in GitHub Desktop.
Better moving around on vim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-" Window move around | |
-nnoremap <silent><C-j> :wincmd j<CR> | |
-nnoremap <silent><C-k> :wincmd k<CR> | |
-nnoremap <silent><C-l> :wincmd l<CR> | |
-nnoremap <silent><C-h> :wincmd h<CR> | |
+" Move between windows | |
+nnoremap <silent><leader>j :wincmd j<CR> | |
+nnoremap <silent><leader>k :wincmd k<CR> | |
+nnoremap <silent><leader>l :wincmd l<CR> | |
+nnoremap <silent><leader>h :wincmd h<CR> | |
+ | |
+" Move windows around | |
+nnoremap <silent><leader><leader>j :wincmd J<CR> | |
+nnoremap <silent><leader><leader>k :wincmd K<CR> | |
+nnoremap <silent><leader><leader>l :wincmd L<CR> | |
+nnoremap <silent><leader><leader>h :wincmd H<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment