summaryrefslogtreecommitdiff
path: root/.vim
diff options
context:
space:
mode:
authorAdam <56338480+adastx@users.noreply.github.com>2022-03-10 16:16:49 +0100
committerAdam <56338480+adastx@users.noreply.github.com>2022-03-10 16:16:49 +0100
commit5a908c6cbcdba880f7f267c9a238c492d021ac0c (patch)
tree7afc03ada045e2e8baef24432debda4ba9f27466 /.vim
parentef3a8a886d1765a701fd6a143dccf088a905c487 (diff)
(n)vim: leader+arrow window nav
Diffstat (limited to '.vim')
-rw-r--r--.vim/vimrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/.vim/vimrc b/.vim/vimrc
index 1ba6be9..f174b07 100644
--- a/.vim/vimrc
+++ b/.vim/vimrc
@@ -59,6 +59,10 @@ nnoremap <leader>h :wincmd h<CR>
nnoremap <leader>j :wincmd j<CR>
nnoremap <leader>k :wincmd k<CR>
nnoremap <leader>l :wincmd l<CR>
+nnoremap <leader><left> :wincmd h<CR>
+nnoremap <leader><down> :wincmd j<CR>
+nnoremap <leader><up> :wincmd k<CR>
+nnoremap <leader><right> :wincmd l<CR>
let &t_8f = "\<Esc>[38:2:%lu:%lu:%lum"
let &t_8b = "\<Esc>[48:2:%lu:%lu:%lum"