summaryrefslogtreecommitdiff
path: root/.config/nvim
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim')
-rw-r--r--.config/nvim/nvim/lua/keymaps.lua15
1 files changed, 15 insertions, 0 deletions
diff --git a/.config/nvim/nvim/lua/keymaps.lua b/.config/nvim/nvim/lua/keymaps.lua
new file mode 100644
index 0000000..c043fc7
--- /dev/null
+++ b/.config/nvim/nvim/lua/keymaps.lua
@@ -0,0 +1,15 @@
+vim.keymap.set('n', '<Esc>', '<cmd>nohlsearch<CR>')
+
+vim.keymap.set('n', '<C-h>', '<C-w><C-h>', { desc = 'Move focus to the left window' })
+vim.keymap.set('n', '<C-l>', '<C-w><C-l>', { desc = 'Move focus to the right window' })
+vim.keymap.set('n', '<C-j>', '<C-w><C-j>', { desc = 'Move focus to the lower window' })
+vim.keymap.set('n', '<C-k>', '<C-w><C-k>', { desc = 'Move focus to the upper window' })
+
+
+
+
+
+
+
+
+