Re:Vim and Vi Tips: Essential Vim and Vi Editor Skills, free...
by gbog on Friday August 17, 2012 @12:11PM
(#4397158)
Nice, I have a bit more (eg Pyflakes highlighting, Pysmell completion) but I share the same trend: barebone vim (no gui, no mouse, no pathogen infection).
I was looking for the rightbelow this, found it in your vimrc. Found it weird you don't have wildmenu...
Re:Vim and Vi Tips: Essential Vim and Vi Editor Skills, free...
by tolos on Friday August 17, 2012 @02:09PM
(#4397829)
What is this netrw? http://www.vim.org/scripts/script.php?script_id=1075 seems to imply it's just for vim'ing remote files. Does it do more?
Re:Vim and Vi Tips: Essential Vim and Vi Editor Skills, free...
by dkersten on Friday August 17, 2012 @10:17AM
(#4396438)
I used NERDTree for a long time until I saw a simple tutorial to netrw - now I love netrw and don't want to ever go back to NERDTree. It's simple and to the point and just works really well for me.
Re:Vim and Vi Tips: Essential Vim and Vi Editor Skills, free...
by DEinspanjer on Friday August 17, 2012 @11:01AM
(#4396669)
Hm.. maybe I need to take another look at netrw. Last time I played with it, the big thing that led me to prefer NERDTree was the difficulty in opening a file you navigated to in the pane to the right. It kept replacing the netrw pane.
Re:Vim and Vi Tips: Essential Vim and Vi Editor Skills, free...
by msmithstubbs on Friday August 17, 2012 @11:16AM
(#4396764)
You can configure this with g:netrw_browse_split.
Setting it to 4 will open the file in the previous window.
See :help netrw_browse_split for other options.
Re:Vim and Vi Tips: Essential Vim and Vi Editor Skills, free...
by johncoltrane on Friday August 17, 2012 @02:07PM
(#4397821)
As always, the answer is in the documentation (:help netrw):
P
One day I was SSH'd into a remote server and vim'd a directory by accident and I discovered Netrw. It wasn't the same as NERDTree, but it was good enough for me to get rid of that plugin. Eventually I just learned to enjoy the defaults with minor tweaks. Today my vimrc[1] is < 200 lines, mostly comments and navigation shortcuts.
[1]: https://github.com/mgirouard/Dots/blob/master/.vimrc