6 ms·
I wound up doing the same thing (not with Janus, but with a massive forked .vimrc). One day I was SSH'd into a remote server and vim'd a directory by accident
by mikegirouard 14y ago
I wound up doing the same thing (not with Janus, but with a massive forked .vimrc).
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 https://github.com/mgirouard/Dots/blob/master/.vimrc
- dkersten 14y agoI 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.
- DEinspanjer 14y agoHm.. 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.
- msmithstubbs 14y agoYou 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.
- johncoltrane 14y agoAs always, the answer is in the documentation (:help netrw): P
- gbog 14y agoNice, 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...
- tolos 14y agoWhat is this netrw? http://www.vim.org/scripts/script.php?script_id=1075 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?
- jh3 14y agoCheck out http://vimcasts.org/episodes/the-file-explorer/ http://vimcasts.org/episodes/the-file-explorer/ Also... :help netrw