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

Insert Mode: Cursor position problem when you switch to a different pane which has the same file #2727

Closed
chibicode opened this issue Jun 13, 2018 · 3 comments

Comments

@chibicode
Copy link
Contributor

Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT

What happened: On insert mode, when you switch to a different pane which has the same file open, change cursor position, and come back to the original pane, original cursor position is not retained.

What did you expect to happen: Original cursor position is retained.

How to reproduce it (as minimally and precisely as possible):

kapture 2018-06-12 at 18 14 28

bug demo

1. set insert mode
2. create a new pane showing the same file
3. make sure both cursors are at line 1
4. go to the different pane
5. move cursor to a different line (say line 5)
6. come back to the original pane
7. cursor should still be at line 1
8. press down arrow
9. expected: cursor should go to line 2
10. actual: cursor goes to line 6
11. this is not a problem in normal mode

Environment:

  • Extension (VsCodeVim) version: 0.12.0
  • VSCode version: 1.24
  • OS version: macOS 10.13.4
@chibicode
Copy link
Contributor Author

I found a similar-sounding issue from almost 2 years ago, but I'm not sure if this issue is still relevant. #789

@jpoon
Copy link
Member

jpoon commented Jun 13, 2018

Sounds like #2688

@chibicode
Copy link
Contributor Author

@jpoon sorry my search query didn't return that issue because I included "insert mode", as it didn't happen on normal mode for my case. I'll close this.

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