summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/mango/remap.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/mango/remap.lua')
-rw-r--r--.config/nvim/lua/mango/remap.lua9
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)