diff options
Diffstat (limited to 'dot_config/nvim/lua/plugins/init.lua')
| -rw-r--r-- | dot_config/nvim/lua/plugins/init.lua | 28 |
1 files changed, 24 insertions, 4 deletions
diff --git a/dot_config/nvim/lua/plugins/init.lua b/dot_config/nvim/lua/plugins/init.lua index b106b6e..24eb70d 100644 --- a/dot_config/nvim/lua/plugins/init.lua +++ b/dot_config/nvim/lua/plugins/init.lua @@ -1,9 +1,29 @@ -- Seamless navigation between neovim splits and zellij panes require("smart-splits").setup({}) -vim.keymap.set("n", "<C-h>", require("smart-splits").move_cursor_left, { desc = "Move to left split/pane" }) -vim.keymap.set("n", "<C-j>", require("smart-splits").move_cursor_down, { desc = "Move to below split/pane" }) -vim.keymap.set("n", "<C-k>", require("smart-splits").move_cursor_up, { desc = "Move to above split/pane" }) -vim.keymap.set("n", "<C-l>", require("smart-splits").move_cursor_right, { desc = "Move to right split/pane" }) +vim.keymap.set( + "n", + "<C-h>", + require("smart-splits").move_cursor_left, + { desc = "Move to left split/pane" } +) +vim.keymap.set( + "n", + "<C-j>", + require("smart-splits").move_cursor_down, + { desc = "Move to below split/pane" } +) +vim.keymap.set( + "n", + "<C-k>", + require("smart-splits").move_cursor_up, + { desc = "Move to above split/pane" } +) +vim.keymap.set( + "n", + "<C-l>", + require("smart-splits").move_cursor_right, + { desc = "Move to right split/pane" } +) require("which-key").setup({ spec = { |
