-
Notifications
You must be signed in to change notification settings - Fork 43
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
undo with u
does not work on jupyterlab 4
#89
Comments
I can confirm, In "jupyter" mode, you can create a new cell with |
Thanks for reporting! I can confirm that I experience this. I wonder if this is the same cause as #31 where we were colliding with a default jupyter shortcut somehow. It's not because we switched to the new codemirror vim as it's works here: https://replit.com/@util/codemirror-vim |
maybe related to jupyterlab/jupyterlab#14113 |
digging deeper still it seems that undo has become a more complicated action in jupyterlab 4. probably to help with the real time collab stuff. It seems as though ctrl-Z isn't handled by codemirror, but rather by jupyterlab. in particular I think it ends up calling this funciton: https://github.com/jupyterlab/jupyterlab/blob/659c6113a97cb906c8b90867a1fe916e628547f2/packages/codemirror/src/editor.ts#L263-L265 so we'll need to end up overriding what |
That's doable. I can open a PR on top of #90. |
PR is up: #92 |
fix is now released.
|
thank you so much for the quick fix |
Thank you so much for maintaining and porting the extension to jupyterlab 4. I upgraded to the latest versions of both and undo with
u
does not work.Ctrl-Z
does.The text was updated successfully, but these errors were encountered: