diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-11-06 21:27:48 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-11-06 21:27:48 +0100 |
commit | 8834f8cb341beb8212196a53cdf8de09a7d6d5d3 (patch) | |
tree | 4ab7f823249a59e4f60d3e34ff248ae793171155 /.config/nvim/lua | |
parent | 04654326aa14be7834503cfe66c565f7b0f5c622 (diff) |
nvim: Add some matchpairs and netrw settings
Diffstat (limited to '.config/nvim/lua')
-rw-r--r-- | .config/nvim/lua/mango/set.lua | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/.config/nvim/lua/mango/set.lua b/.config/nvim/lua/mango/set.lua index 5659345..6912bce 100644 --- a/.config/nvim/lua/mango/set.lua +++ b/.config/nvim/lua/mango/set.lua @@ -59,6 +59,11 @@ api.nvim_create_autocmd('FocusGained', { -- This has to be done to enable linenumbers in netrw g.netrw_bufsettings = 'noma nomod nu nobl nowrap ro' - -opt.matchpairs:append('‘:’') -opt.matchpairs:append('“:”') +-- Allow for jumping between these pairs with % +o.matchpairs:append('<:>') +o.matchpairs:append('‘:’') +o.matchpairs:append('“:”') + +-- Disable the netrw banner +g.netrw_banner = 0 +g.netrw_list_hide = [[^\(\.\|\.\.\)/\?$]] |