summaryrefslogtreecommitdiff
path: root/.config/nvim/after/plugin/netrw.lua
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-11-17 22:19:41 +0100
committerThomas Voss <mail@thomasvoss.com> 2023-11-17 22:19:41 +0100
commitdab0f2954bdec40e3c85dcdaeb16cdbb403072ef (patch)
tree05f435df8f6b1ecd87303a0368a671a3d9455062 /.config/nvim/after/plugin/netrw.lua
parent291e707e8c02f7647c8186b236fa95a279d7932a (diff)
nvim: Write netrw config in lua
Diffstat (limited to '.config/nvim/after/plugin/netrw.lua')
-rw-r--r--.config/nvim/after/plugin/netrw.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/.config/nvim/after/plugin/netrw.lua b/.config/nvim/after/plugin/netrw.lua
new file mode 100644
index 0000000..79327a1
--- /dev/null
+++ b/.config/nvim/after/plugin/netrw.lua
@@ -0,0 +1,3 @@
+vim.g.netrw_banner = 0
+vim.g.netrw_bufsettings = 'noma nomod nu nobl nowrap ro' -- Enabled line-numbers
+vim.g.netrw_list_hide = [[^\(\.\|\.\.\)/\?$,.*\.o$]]