add neo mapping for split window movement
This commit is contained in:
parent
93e4cefa90
commit
1785d696a5
1 changed files with 8 additions and 0 deletions
|
|
@ -6,6 +6,14 @@ return {
|
||||||
mappings = {
|
mappings = {
|
||||||
n = {
|
n = {
|
||||||
["<Leader>f/"] = require("telescope.builtin").current_buffer_fuzzy_find,
|
["<Leader>f/"] = require("telescope.builtin").current_buffer_fuzzy_find,
|
||||||
|
|
||||||
|
-- for Neo layout
|
||||||
|
["<C-S>"] = { function() require("smart-splits").move_cursor_left() end, desc = "Move to left split" },
|
||||||
|
["<C-N>"] = { function() require("smart-splits").move_cursor_down() end, desc = "Move to below split" },
|
||||||
|
["<C-R>"] = { function() require("smart-splits").move_cursor_up() end, desc = "Move to above split" },
|
||||||
|
["<C-T>"] = { function() require("smart-splits").move_cursor_right() end, desc = "Move to right split" },
|
||||||
|
|
||||||
|
["<C-C>"] = { function() vim.cmd "redo" end, desc = "Redo" },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue