add neo mapping for split window movement

This commit is contained in:
Michael Floßmann 2026-02-02 10:32:31 +01:00
parent 93e4cefa90
commit 1785d696a5

View file

@ -6,6 +6,14 @@ return {
mappings = {
n = {
["<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" },
},
},
},