diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-10-16 20:35:19 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-10-16 20:35:19 +0200 |
commit | d308afef4c3346f267e2283a0440264f6f5dd3c8 (patch) | |
tree | e0792c1418ca58d5ad8105ba554f000f965eda8d /.config/nvim/lua | |
parent | b7d3d8d5d03304c9281b3aca390261ea8469b75a (diff) |
nvim: Add binding to open ‘netrw’ in a vsplit
Diffstat (limited to '.config/nvim/lua')
-rw-r--r-- | .config/nvim/lua/mango/remap.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.config/nvim/lua/mango/remap.lua b/.config/nvim/lua/mango/remap.lua index e8bccc6..fb4d70d 100644 --- a/.config/nvim/lua/mango/remap.lua +++ b/.config/nvim/lua/mango/remap.lua @@ -61,3 +61,11 @@ remap('n', '<leader>t', transpose_chars) remap('n', '<leader>T', function() transpose_chars(true) end) + +-- Open netrw in a vertical split +remap('n', '–', function() + vim.cmd[[ + vsplit + :Ex + ]] +end) |