diff options
| author | Kyren223 <ulmliad223@gmail.com> | 2024-06-26 19:24:02 +0300 |
|---|---|---|
| committer | Kyren223 <ulmliad223@gmail.com> | 2024-06-26 19:24:02 +0300 |
| commit | 6ab3034ebf11dd3b1ac99384eb11a8c22e334552 (patch) | |
| tree | 09dc98e865157b647503247a863de45ab8ed1b5b | |
| parent | 1fbc502abd5f678de5d96c8372c1f33daff8db0d (diff) | |
Moved nvim's non-plugin keymaps to their own file
| -rw-r--r-- | .config/nvim/nvim/lua/keymaps.lua | 15 |
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' }) + + + + + + + + + |
