From 1785d696a5d6495c5430bd95b5f0b80eccfdef7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Flo=C3=9Fmann?= Date: Mon, 2 Feb 2026 10:32:31 +0100 Subject: [PATCH] add neo mapping for split window movement --- lua/plugins/mappings.lua | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lua/plugins/mappings.lua b/lua/plugins/mappings.lua index 09a589b..4a8cc2b 100644 --- a/lua/plugins/mappings.lua +++ b/lua/plugins/mappings.lua @@ -6,6 +6,14 @@ return { mappings = { n = { ["f/"] = require("telescope.builtin").current_buffer_fuzzy_find, + + -- for Neo layout + [""] = { function() require("smart-splits").move_cursor_left() end, desc = "Move to left split" }, + [""] = { function() require("smart-splits").move_cursor_down() end, desc = "Move to below split" }, + [""] = { function() require("smart-splits").move_cursor_up() end, desc = "Move to above split" }, + [""] = { function() require("smart-splits").move_cursor_right() end, desc = "Move to right split" }, + + [""] = { function() vim.cmd "redo" end, desc = "Redo" }, }, }, },