correct syntax
This commit is contained in:
parent
c6c097057c
commit
9bae641b35
|
@ -3,20 +3,24 @@ return {
|
||||||
lazy = false,
|
lazy = false,
|
||||||
keys = {
|
keys = {
|
||||||
-- resizing splits
|
-- resizing splits
|
||||||
{ "n", "<A-a>", ":lua require('smart-splits').resize_left()<CR>" },
|
{ "<A-a>", ":lua require('smart-splits').resize_left()<CR>", desc = "smart split: resize left" },
|
||||||
{ "n", "<A-o>", ":lua require('smart-splits').resize_down()<CR>" },
|
{ "<A-o>", ":lua require('smart-splits').resize_down()<CR>", desc = "smart split: resize down" },
|
||||||
{ "n", "<A-e>", ":lua require('smart-splits').resize_up()<CR>" },
|
{ "<A-e>", ":lua require('smart-splits').resize_up()<CR>", desc = "smart split: resize up" },
|
||||||
{ "n", "<A-u>", ":lua require('smart-splits').resize_right()<CR>" },
|
{ "<A-u>", ":lua require('smart-splits').resize_right()<CR>", desc = "smart split: resize right" },
|
||||||
-- moving between splits
|
-- moving between splits
|
||||||
{ "n", "<C-a>", ":lua require('smart-splits').move_cursor_left()<CR>" },
|
{ "<C-a>", ":lua require('smart-splits').move_cursor_left()<CR>", desc = "smart split: move cursor left" },
|
||||||
{ "n", "<C-o>", ":lua require('smart-splits').move_cursor_down()<CR>" },
|
{ "<C-o>", ":lua require('smart-splits').move_cursor_down()<CR>", desc = "smart split: move cursor up" },
|
||||||
{ "n", "<C-e>", ":lua require('smart-splits').move_cursor_up()<CR>" },
|
{ "<C-e>", ":lua require('smart-splits').move_cursor_up()<CR>", desc = "smart split: move cursor up" },
|
||||||
{ "n", "<C-u>", ":lua require('smart-splits').move_cursor_right()<CR>" },
|
{ "<C-u>", ":lua require('smart-splits').move_cursor_right()<CR>", desc = "smart split: move cursor right" },
|
||||||
{ "n", "<C-\\>", ":lua require('smart-splits').move_cursor_previous()<CR>" },
|
{
|
||||||
|
"<C-\\>",
|
||||||
|
":lua require('smart-splits').move_cursor_previous()<CR>",
|
||||||
|
desc = "smart split: move cursor to previous",
|
||||||
|
},
|
||||||
-- swapping buffers between windows
|
-- swapping buffers between windows
|
||||||
{ "n", "<leader><leader>a", ":lua require('smart-splits').swap_buf_left()<CR>" },
|
{ "<leader><leader>a", ":lua require('smart-splits').swap_buf_left()<CR>", desc = "smart split: swap left" },
|
||||||
{ "n", "<leader><leader>o", ":lua require('smart-splits').swap_buf_down()<CR>" },
|
{ "<leader><leader>o", ":lua require('smart-splits').swap_buf_down()<CR>", desc = "smart split: swap down" },
|
||||||
{ "n", "<leader><leader>e", ":lua require('smart-splits').swap_buf_up()<CR>" },
|
{ "<leader><leader>e", ":lua require('smart-splits').swap_buf_up()<CR>", desc = "smart split: swap up" },
|
||||||
{ "n", "<leader><leader>u", ":lua require('smart-splits').swap_buf_right()<CR>" },
|
{ "<leader><leader>u", ":lua require('smart-splits').swap_buf_right()<CR>", desc = "smart split: swap right" },
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue