diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-03 20:19:21 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-03 20:19:21 +1300 |
commit | 49cc5f75e2f21437a16983e3902833995a75e169 (patch) | |
tree | dbe8bafaf17ab9bf7f5bfce10b6ff3cc42ef96a8 /vim/config | |
parent | Merge branch 'hotfix/v0.4.1' (diff) | |
parent | Require eval feature for netrw opts assignment (diff) | |
download | dotfiles-49cc5f75e2f21437a16983e3902833995a75e169.tar.gz dotfiles-49cc5f75e2f21437a16983e3902833995a75e169.zip |
Merge branch 'hotfix/v0.4.2'v0.4.2
* hotfix/v0.4.2:
Require eval feature for netrw opts assignment
Bump version number to 0.4.2
Diffstat (limited to 'vim/config')
-rw-r--r-- | vim/config/netrw.vim | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/vim/config/netrw.vim b/vim/config/netrw.vim index 528f0ca6..b38649b9 100644 --- a/vim/config/netrw.vim +++ b/vim/config/netrw.vim @@ -1,11 +1,16 @@ -" Don't show the preamble banner -let g:netrw_banner = 0 +" netrw plugin configuration +if has('eval') -" Perform file transfers silently -let g:netrw_silent = 1 + " Don't show the preamble banner + let g:netrw_banner = 0 -" Use a tree-style file listing -let g:netrw_liststyle = 3 + " Perform file transfers silently + let g:netrw_silent = 1 -" Don't list the current directory shortcut, and don't show tags files -let g:netrw_list_hide = '^\.$,^tags$' + " 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$' + +endif |