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

Previous buffer duplicated in split after openning new buffer in tab #81

Open
Xunius opened this issue Mar 14, 2019 · 1 comment
Open

Comments

@Xunius
Copy link

Xunius commented Mar 14, 2019

Steps I took:

  1. in a vim window, open file1, file2 and file3 in separate tabs.
  2. close the tab for file3, go to the tab for file2
  3. use <leader>bv to open bufexplore in a vertical split.
  4. now the file3 entry is in the list, navigate to that, and hit t to open it in a new tab.

I assume this would get me back to the state after step 1. However if I navigate to the tab for file2 (where I launched bufexplore), I saw the same file opened twice in a vertical split, like below:

-----------------------------------------------------
|  file 2 contents       |      file 2 contents    |
|                        |                         |
|                        |                         |
-----------------------------------------------------

I think this is rather counter-intuitive. Is there any easy way of getting around this?
I'm using vim 8.1.

Thanks!

@jlanzarotta
Copy link
Owner

Hum... Let me take a look at this...

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