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

Cursor jumps after building with CMake #3462

Closed
wesleygriffin opened this issue Feb 6, 2019 · 3 comments
Closed

Cursor jumps after building with CMake #3462

wesleygriffin opened this issue Feb 6, 2019 · 3 comments
Labels

Comments

@wesleygriffin
Copy link

Describe the bug
I've tried to read all the previous issues with cursor jumps and I think this is a new one, although its possibly related to #3444

With the cursor anywhere in a source file after I hit F7 to build the project, pressing any of the hjkl motion keys causes the cursor to jump to somewhere in lines 25-54.

To Reproduce

  1. Open a source file and position the cursor somewhere
  2. Press F7 to build the project
  3. Press any hjkl motion key
  4. The cursor jumps to lines somewhere around lines 25-54

Expected behavior
The cursor shouldn't jump around.

Environment (please complete the following information):

  • Extension (VsCodeVim) version: 1.0.7
  • VSCode version: 1.1.3
  • OS: CentOS 7.6.1810

Developer: Show Running Extensions also shows:
Node Debug Auto-attach
Emmet
Git
Merge Conflict

Additional Context
Here is a series of commands and the results I'm seeing:

  1. Open a source file.
  2. Click in the text editor.
  3. Enter ':0'
  4. Press F7 to build the project
  5. Press j
  6. The cursor jumps to line 27
  7. Press F7
  8. Press j
  9. The cursor doesn't jump lines
  10. Press F7
  11. Press l
  12. The cursor jumps to line 26 (column 1)
  13. Press F7
  14. Press h
  15. The cursor doesn't jump lines (but does move to column 0)
  16. Enter ':100'
  17. Hit F7
  18. Press k
  19. The cursor jumps to line 25
  20. Enter ':100'
    19 Hit F7
  21. Hit j
  22. The cursor jumps to line 27
@wesleygriffin
Copy link
Author

I meant to include that I've turned on "vim.debug.loggingLevelForConsole": "debug" but do not see any output in the Log (Extension Host), perhaps I need to look somewhere else?

@jpoon
Copy link
Member

jpoon commented Feb 7, 2019

Probably a dupe of #3444

@wesleygriffin
Copy link
Author

Yes it was a dupe of #3444 and updating to 1.0.8 fixed my issue as well.

Thanks!

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

No branches or pull requests

2 participants