Sunday, March 11, 2018

Re: how to open file from netrw in current window

+1 that was my problem KingTiger, was driving me crazy...

On Sunday, March 27, 2011 at 1:27:21 AM UTC+9, KingTiger.Lu wrote:
>  
>
>  
>
> I find that if I open (vs) two windows and one of them is netrw file
> explore, when I try to open a file in netrw window (enter key), the file will be
> opened in another window. How could I make the file is opened in current netrw
> file exploer window?
>
>  
>
>
> I think you may had a setting about nertw_browse_split in
> somewhere,  default is opening in the same window.
>
>
> you can try  :
>
> let g:netrw_browse_split=0
>
>  
>
>   *g:netrw_browse_split*
>
>  when browsing, <cr> will open the file
> by:
>     =0: re-using the same
> window
>     =1: horizontally splitting the window
> first 
>     =2: vertically   splitting the
> window first 
>     =3: open file in new
> tab
>     =4: act like "P" (ie. open previous window)
>
>  

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment