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

moving around cells with up/down key in "edit" mode can strand cursor #1

Open
sjobeek opened this issue Apr 11, 2014 · 3 comments
Open

Comments

@sjobeek
Copy link

sjobeek commented Apr 11, 2014

I know it's a work in progress, but just providing some feedback. Thanks a ton for working on this!

With some vigorous movement between cells using the up/down keys while in normal edit mode, I managed to "strand" an active blinking green cursor in more than one cell which was not the current active cell.

After clicking on one of these "stranded" cursors, the interface stayed in command mode, though typing would actually input text and execute commands at the same time.

@ivanov
Copy link
Owner

ivanov commented Jul 11, 2014

Thanks for the report, I've seen this as well. If anyone can get a small reproducible (or reproducible-ish) way of getting this behavior, it would help a lot in testing and fixing this bug.

@maxgillett
Copy link

I've been experiencing the same sort of bug. You can reproduce it easily if you load a notebook with more than one cell, toggle vimception through the help dropdown, and then click on each of the notebook cells.

I'll poke around in the code a bit later and see if I can figure it out. Thanks for the awesome plugin.

@RichardWarfield
Copy link

I had the same (or a very similar) problem. The issue seemed to be exceptions that were occuring (for reasons I don't entirely understand) in the "blur" handler. I think these were short circuiting the cm_all call. Adding try-catch blocks (and ignoring the exceptions) to the offending code lines seems to have fixed the problem for me. I submitted a pull request below.

#18

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

4 participants