♻️ refactor(nvim): smart-splits keymaps
This commit is contained in:
parent
caaafa2a40
commit
2263e51dd1
1 changed files with 12 additions and 8 deletions
|
@ -4,13 +4,17 @@ return {
|
|||
event = "VeryLazy",
|
||||
-- stylua: ignore
|
||||
keys = {
|
||||
{ "<C-A-Left>", function() require("smart-splits").resize_left() end, desc = "Resize Left" },
|
||||
{ "<C-A-Down>", function() require("smart-splits").resize_down() end, desc = "Resize Down" },
|
||||
{ "<C-A-Up>", function() require("smart-splits").resize_up() end, desc = "Resize Up" },
|
||||
{ "<C-A-Right>", function() require("smart-splits").resize_right() end, desc = "Resize Right" },
|
||||
{ "<C-Left>", function() require("smart-splits").resize_left() end, desc = "Resize Left" },
|
||||
{ "<C-Down>", function() require("smart-splits").resize_down() end, desc = "Resize Down" },
|
||||
{ "<C-Up>", function() require("smart-splits").resize_up() end, desc = "Resize Up" },
|
||||
{ "<C-Right>", function() require("smart-splits").resize_right() end, desc = "Resize Right" },
|
||||
{ "<C-h>", function() require("smart-splits").move_cursor_left() end, desc = "Move Cursor Left" },
|
||||
{ "<C-j>", function() require("smart-splits").move_cursor_down() end, desc = "Move Cursor Down" },
|
||||
{ "<C-k>", function() require("smart-splits").move_cursor_up() end, desc = "Move Cursor Up" },
|
||||
{ "<C-l>", function() require("smart-splits").move_cursor_right() end, desc = "Move Cursor Right" },
|
||||
{ "<A-Left>", function() require("smart-splits").swap_buf_left() end, desc = "Swap Buffer Left" },
|
||||
{ "<A-Down>", function() require("smart-splits").swap_buf_down() end, desc = "Swap Buffer Down" },
|
||||
{ "<A-Up>", function() require("smart-splits").swap_buf_up() end, desc = "Swap Buffer Up" },
|
||||
{ "<A-Right>", function() require("smart-splits").swap_buf_right() end, desc = "Swap Buffer Right" },
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue