diff options
author | Teddy Wing | 2015-06-04 16:02:41 -0400 |
---|---|---|
committer | Teddy Wing | 2015-06-04 16:02:41 -0400 |
commit | 9ec85f7fa5e118c0630e6b6457b71e80e57fa5dd (patch) | |
tree | 47c1a919e81419373868997ecf4be07e10389b8c | |
parent | fe00ae97b50abe76bf6d457ae93d4c09e7c676ca (diff) | |
download | dotvim-9ec85f7fa5e118c0630e6b6457b71e80e57fa5dd.tar.bz2 |
vimrc: set g:netrw_liststyle=3
Use Netrw's tree view. This makes Netrw function a lot more like
NERDTree. In fact, that's the primary reason why I use NERDTree in the
rare cases that I need it these days. We can probably remove NERDTree
from the plugin list after this.
Thanks very much to Mo Zhu for introducing me to this setting at
BostonRB project night last Tuesday.
Would have committed it then but I was thinking I'd do some plugin
changes and uninstall NERDTree before doing so. I haven't and now I want
to make another change to my vimrc so let's just commit this now.
-rw-r--r-- | vimrc | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -269,6 +269,12 @@ " 2015.01.06: " * Set backupcopy=yes to preserve creation dates of files. " +" 2015.06.02: +" * Set g:netrw_liststyle=3 to take advantage of Netrw's tree listing, +" which functions more like NERDTree by not going to a new "page" when +" changing directories. With this change I think we can uninstall +" NERDTree. +" " Pathogen @@ -363,6 +369,8 @@ set statusline+=%-8c " Column number (ensure space for 8 characters) set statusline+=\ " Separator set statusline+=%4P " Percent through file in window (ensure space for 4 characters) +" Use Netrw's tree-style listing +let g:netrw_liststyle = 3 " Syntax highlighting (base) |