Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


As always, the answer is in the documentation (:help netrw):

    P


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: