From fa4acc29ad3dc2e8778dcb878a4c41b7562235e3 Mon Sep 17 00:00:00 2001 From: rootiest Date: Wed, 12 Feb 2025 18:49:31 -0500 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Feat(keymaps):=20modify=20vertical?= =?UTF-8?q?=20split=20and=20explorer=20keymaps=20for=20easier=20use?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Press \ or | for vertical split. Press Ctrl+| (Ctrl+Shift+\) for explorer. --- lua/data/keys.lua | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/lua/data/keys.lua b/lua/data/keys.lua index 5c9adb0..483b78d 100644 --- a/lua/data/keys.lua +++ b/lua/data/keys.lua @@ -1127,7 +1127,7 @@ M.misc = { desc = 'Select all', }, { -- Explorer - lhs = '|', + lhs = '', rhs = 'lua Snacks.picker.explorer()', desc = 'Toggle Snacks Explorer', }, @@ -1142,6 +1142,16 @@ M.misc = { end, desc = 'File Explorer', }, + { -- Split Window Vertically + lhs = '\\', + rhs = 'v', + desc = 'Split Window Right', + }, + { -- Split Window Vertically + lhs = '|', + rhs = 'v', + desc = 'Split Window Right', + }, { -- Smart Pick Files lhs = '', rhs = function()