about summary refs log tree commit diff
path: root/fnl
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-05-12 21:20:25 +0900
committersefidel <contact@sefidel.net>2024-05-12 21:20:25 +0900
commit940a111a8c44bd9b9c6c262c4f407bf7794f3e36 (patch)
treeaaa72384511bd2209d7e1e198219d72b29607b77 /fnl
parent49d5cd6cab1f9a70a908b22ade672d79f66a2d48 (diff)
downloadnvimrc-940a111a8c44bd9b9c6c262c4f407bf7794f3e36.tar.gz
nvimrc-940a111a8c44bd9b9c6c262c4f407bf7794f3e36.zip
feat(keymaps): add keymaps for window navigation
Diffstat (limited to 'fnl')
-rw-r--r--fnl/nvrc/keymaps.fnl5
1 files changed, 5 insertions, 0 deletions
diff --git a/fnl/nvrc/keymaps.fnl b/fnl/nvrc/keymaps.fnl
index 71c4a88..1ce5fa8 100644
--- a/fnl/nvrc/keymaps.fnl
+++ b/fnl/nvrc/keymaps.fnl
@@ -71,6 +71,11 @@
 (map! [v] :<A-e> ":m '>+1<cr>gv=gv")
 (map! [v] :<A-r> ":m '<-2<cr>gv=gv")
 
+(map! [n] :<C-h> "<C-w>h")
+(map! [n] :<C-j> "<C-w>j")
+(map! [n] :<C-k> "<C-w>k")
+(map! [n] :<C-l> "<C-w>l")
+
 ; LSP
 (map! [n] :fl (vim.lsp.buf.declaration))
 (map! [n] :fd (vim.lsp.buf.definition))