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

losing opened file buffer, when switch back from other buffer. #414

Open
ruinb0w opened this issue Apr 6, 2021 · 4 comments
Open

losing opened file buffer, when switch back from other buffer. #414

ruinb0w opened this issue Apr 6, 2021 · 4 comments

Comments

@ruinb0w
Copy link

ruinb0w commented Apr 6, 2021

desc:

I opened a file at buffer1 from CLI, and I opened a file at buffer2 from explorer. Then I switch to tab1 and back to tab2, the file I opened from explorer was gone, the buffer2 changed to explorer.

question

how can I fix it?

environment

os: manjaro
vim: neovim 0.4.4

@weirongxu
Copy link
Owner

I don't fully understand your reproduction description, please provide staged steps, or pictures, or videos.

@ruinb0w
Copy link
Author

ruinb0w commented Apr 7, 2021

sorry for my bad description, I found that explorer opened file at buffer 3 but explorer stay at buffer2. So, if I use :n 2 try to switch to file2 I got explorer. How can I open file2 at buffer2?

image

@weirongxu
Copy link
Owner

I suggest you use a steps description

tree command result

├───public
│   └───upload
│       └───image
  1. execute nvim or vim in shell
  2. press key
  3. press ...

@weirongxu
Copy link
Owner

Because I don't know where you are when you execute n 2

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

No branches or pull requests

2 participants