2024-05-07 12:47:00 +00:00
|
|
|
return {
|
|
|
|
"mrjones2014/smart-splits.nvim",
|
|
|
|
event = "VeryLazy",
|
|
|
|
opts = { ignored_filetypes = { "nofile", "quickfix", "qf", "prompt" }, ignored_buftypes = { "nofile" } },
|
|
|
|
keys = {
|
2024-08-22 14:54:58 +00:00
|
|
|
{
|
|
|
|
"<c-h>",
|
|
|
|
function() require("smart-splits").move_cursor_left() end,
|
|
|
|
desc = "Move to left split"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"<c-j>", function() require("smart-splits").move_cursor_down() end,
|
|
|
|
desc = "Move to below split"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"<c-k>", function() require("smart-splits").move_cursor_up() end,
|
|
|
|
desc = "Move to above split"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"<c-l>", function() require("smart-splits").move_cursor_right() end,
|
|
|
|
desc = "Move to right split"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"<c-up>", function() require("smart-splits").resize_up() end,
|
|
|
|
desc = "Resize split up"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"<c-down>", function() require("smart-splits").resize_down() end,
|
|
|
|
desc = "Resize split down"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"<c-left>", function() require("smart-splits").resize_left() end,
|
|
|
|
desc = "Resize split left"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"<c-right>", function() require("smart-splits").resize_right() end,
|
|
|
|
desc = "Resize split right"
|
|
|
|
},
|
2024-05-07 12:47:00 +00:00
|
|
|
},
|
|
|
|
}
|