Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

strange behaviour #53

Open
ghost opened this issue Jul 17, 2015 · 2 comments
Open

strange behaviour #53

ghost opened this issue Jul 17, 2015 · 2 comments

Comments

@ghost
Copy link

ghost commented Jul 17, 2015

i just start using Vim in Ubuntu terminal.

while i press "-" and from list select the file it always end up opening in new split. how can i make it to open in same split.

@tpope
Copy link
Owner

tpope commented Jul 17, 2015

That should be the default. Check your config; netrw provides an option I do believe.

@TheJoeSchr
Copy link

the settings name is
let g:netrw_browse_split=0

from help netrw_browse_split:

g:netrw_browse_split when browsing, will open the file by:
=0: re-using the same window (default)
=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)
Note that |g:netrw_preview| may be used
to get vertical splitting instead of
horizontal splitting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants