From fcc082e81424daa0f11dc50ee45ca32b8905b2de Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Tue, 17 Oct 2023 15:36:13 +0200 Subject: Add ‘g–’, and use pipes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/nvim/lua/mango/remap.lua | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to '.config') diff --git a/.config/nvim/lua/mango/remap.lua b/.config/nvim/lua/mango/remap.lua index fb4d70d..fea89ec 100644 --- a/.config/nvim/lua/mango/remap.lua +++ b/.config/nvim/lua/mango/remap.lua @@ -64,8 +64,9 @@ end) -- Open netrw in a vertical split remap('n', '–', function() - vim.cmd[[ - vsplit - :Ex - ]] + vim.cmd('vsplit | Ex') +end) + +remap('n', 'g–', function() + vim.cmd('split | Ex') end) -- cgit v1.2.3