aboutsummaryrefslogtreecommitdiff
path: root/vim/config/netrw.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-10-30 11:23:40 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-10-30 11:24:53 +1300
commit538b71c5d477d9524b3d85dbb40ef4af0b6f8e9c (patch)
tree4eba438ab55e04ae58291a098f0acb13fa7673b1 /vim/config/netrw.vim
parentRebuild dotfiles(7) man page, remove double-header (diff)
downloaddotfiles-538b71c5d477d9524b3d85dbb40ef4af0b6f8e9c.tar.gz
dotfiles-538b71c5d477d9524b3d85dbb40ef4af0b6f8e9c.zip
Move netrw.vim "after" script to plain config
There's no particular need to set these options after netrw has loaded; they can be set before it's loaded, and the plugin will still observe them. This empties the vim/after/plugin directory. It doesn't need to be removed from the Makefile as there are no references to it; it was installed by a glob cp(1).
Diffstat (limited to 'vim/config/netrw.vim')
-rw-r--r--vim/config/netrw.vim11
1 files changed, 11 insertions, 0 deletions
diff --git a/vim/config/netrw.vim b/vim/config/netrw.vim
new file mode 100644
index 00000000..528f0ca6
--- /dev/null
+++ b/vim/config/netrw.vim
@@ -0,0 +1,11 @@
+" Don't show the preamble banner
+let g:netrw_banner = 0
+
+" Perform file transfers silently
+let g:netrw_silent = 1
+
+" Use a tree-style file listing
+let g:netrw_liststyle = 3
+
+" Don't list the current directory shortcut, and don't show tags files
+let g:netrw_list_hide = '^\.$,^tags$'