summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/keymaps.lua
diff options
context:
space:
mode:
authorKyren223 <ulmliad223@gmail.com>2024-06-26 19:54:00 +0300
committerKyren223 <ulmliad223@gmail.com>2024-06-26 19:54:00 +0300
commite3896e07385cbc1327dcd23e1e28ca17f710b709 (patch)
tree326a0b88b1d864c991b7e3ab73545e61bca98353 /.config/nvim/lua/keymaps.lua
parent1062f6935d84409dc8b2498d4cb38e1e3aee465a (diff)
Accidentally placed the nvim files in the wrong place, fixed now
Diffstat (limited to '.config/nvim/lua/keymaps.lua')
-rw-r--r--.config/nvim/lua/keymaps.lua15
1 files changed, 15 insertions, 0 deletions
diff --git a/.config/nvim/lua/keymaps.lua b/.config/nvim/lua/keymaps.lua
new file mode 100644
index 0000000..c043fc7
--- /dev/null
+++ b/.config/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' })
+
+
+
+
+
+
+
+
+