From 9ec85f7fa5e118c0630e6b6457b71e80e57fa5dd Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Thu, 4 Jun 2015 16:02:41 -0400 Subject: 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. --- vimrc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'vimrc') diff --git a/vimrc b/vimrc index e3e94bb..e81bb81 100644 --- a/vimrc +++ b/vimrc @@ -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) -- cgit v1.2.3