diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-10-17 15:36:13 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-10-17 15:36:13 +0200 |
commit | fcc082e81424daa0f11dc50ee45ca32b8905b2de (patch) | |
tree | 87009b484104e3fb8aecc5bff43ce649366b88df | |
parent | d308afef4c3346f267e2283a0440264f6f5dd3c8 (diff) |
Add ‘g–’, and use pipes
-rw-r--r-- | .config/nvim/lua/mango/remap.lua | 9 |
1 files changed, 5 insertions, 4 deletions
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) |