From 2263e51dd1886ca388dbe9e52931ff1a9fedba58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Mon, 29 Jul 2024 17:42:42 +0200 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20refactor(nvim):=20smart-sp?= =?UTF-8?q?lits=20keymaps?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lua/plugins/extras/util/smart-splits.lua | 20 +++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/.config/nvim/lua/plugins/extras/util/smart-splits.lua b/.config/nvim/lua/plugins/extras/util/smart-splits.lua index 474ac857..1c694aba 100644 --- a/.config/nvim/lua/plugins/extras/util/smart-splits.lua +++ b/.config/nvim/lua/plugins/extras/util/smart-splits.lua @@ -4,13 +4,17 @@ return { event = "VeryLazy", -- stylua: ignore keys = { - { "", function() require("smart-splits").resize_left() end, desc = "Resize Left" }, - { "", function() require("smart-splits").resize_down() end, desc = "Resize Down" }, - { "", function() require("smart-splits").resize_up() end, desc = "Resize Up" }, - { "", function() require("smart-splits").resize_right() end, desc = "Resize Right" }, - { "", function() require("smart-splits").move_cursor_left() end, desc = "Move Cursor Left" }, - { "", function() require("smart-splits").move_cursor_down() end, desc = "Move Cursor Down" }, - { "", function() require("smart-splits").move_cursor_up() end, desc = "Move Cursor Up" }, - { "", function() require("smart-splits").move_cursor_right() end, desc = "Move Cursor Right" }, + { "", function() require("smart-splits").resize_left() end, desc = "Resize Left" }, + { "", function() require("smart-splits").resize_down() end, desc = "Resize Down" }, + { "", function() require("smart-splits").resize_up() end, desc = "Resize Up" }, + { "", function() require("smart-splits").resize_right() end, desc = "Resize Right" }, + { "", function() require("smart-splits").move_cursor_left() end, desc = "Move Cursor Left" }, + { "", function() require("smart-splits").move_cursor_down() end, desc = "Move Cursor Down" }, + { "", function() require("smart-splits").move_cursor_up() end, desc = "Move Cursor Up" }, + { "", function() require("smart-splits").move_cursor_right() end, desc = "Move Cursor Right" }, + { "", function() require("smart-splits").swap_buf_left() end, desc = "Swap Buffer Left" }, + { "", function() require("smart-splits").swap_buf_down() end, desc = "Swap Buffer Down" }, + { "", function() require("smart-splits").swap_buf_up() end, desc = "Swap Buffer Up" }, + { "", function() require("smart-splits").swap_buf_right() end, desc = "Swap Buffer Right" }, }, }