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 moves 4 chars to the right after entering insert mode (using i) #742

Closed
hoijui opened this issue Sep 5, 2021 · 5 comments
Closed

Comments

@hoijui
Copy link

hoijui commented Sep 5, 2021

It happens somewhat sporadically. It seems to happen always when switching the view to a file, and after moving around a bit, and entering and exiting insert mode a few times, it works as expected.

I am pretty sure this is somehow related to my specific setup, as I was not able to find an issue like this, and it is a very annoying bug. ;-)
Is there a way to debug such a thing?
I tried with the AppImage NeoVim and with a self compiled one. same outcome.

@justinmk
Copy link
Collaborator

justinmk commented Sep 6, 2021

You probably have a Nvim plugin or some other config doing something unexpected.

@justinmk justinmk closed this as completed Sep 6, 2021
@hoijui
Copy link
Author

hoijui commented Sep 7, 2021

I disabled all extensions, and re-enabled just neovim; reloaded VSCodium, and it still happens.
So.. seems unlikely, that other extensions are the culprint. :/

@asvetliakov
Copy link
Member

asvetliakov commented Sep 7, 2021

@hoijui

So.. seems unlikely, that other extensions are the culprint. :/

You probably have a Nvim plugin or some other config doing something unexpected.

not vscode. nvim

@hoijui
Copy link
Author

hoijui commented Sep 7, 2021

ahhhh :D
indeed, that is what he wrote (and I misread); and that was it!

I used an empty init.vim, and the problem was gone. Now I have to bisect which Vim plugin causes the problem (or continue using the empty script).

Thank you two!

@hoijui
Copy link
Author

hoijui commented Sep 7, 2021

Found the culprint:

" Better line numbers (relative to current line)
" see https://github.com/myusuf3/numbers.vim#usage
Plug 'myusuf3/numbers.vim'

https://github.com/myusuf3/numbers.vim

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

3 participants