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

Fix search box Esc bindings #107

Merged
merged 2 commits into from
Sep 6, 2023

Conversation

firai
Copy link
Collaborator

@firai firai commented Sep 5, 2023

Fixes #104. PR courtesy of @krassowski.

  • Delete Escdocumentsearch:end bindings for notebooks.
  • Add data-jp-vim-mode-name=mode class to CodeMirror instances, where mode can be "normal", "insert", "visual" or "visual block".
  • Change file editor Escdocumentsearch:end bindings' .cm-vimMode selectors to [data-jp-vim-mode-name='normal'].

@github-actions
Copy link

github-actions bot commented Sep 5, 2023

Binder 👈 Launch a Binder on branch firai/jupyterlab-vim/del-search-box-bindings

@krassowski krassowski added the bug Something isn't working label Sep 5, 2023
@krassowski
Copy link
Collaborator

Thank you for the PR @firai. Would you mind testing the commit I pushed (36294d8)?

@firai firai changed the title Delete documentsearch:end bindings Fix search box Esc bindings Sep 6, 2023
@firai
Copy link
Collaborator Author

firai commented Sep 6, 2023

Thanks, @krassowski! Seems to work well. I updated the description.

By the way, feel free to open a new branch and PR for this, as this is mostly your work. I just left this PR in case you wanted to merge directly from here.

@firai firai marked this pull request as ready for review September 6, 2023 09:52
Copy link
Collaborator

@krassowski krassowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @firai!

@krassowski krassowski merged commit 75d6969 into jupyterlab-contrib:main Sep 6, 2023
13 checks passed
@firai firai deleted the del-search-box-bindings branch September 6, 2023 17:26
@ianhi
Copy link
Collaborator

ianhi commented Sep 6, 2023

@firai this and #105 should be available in version 4.0.3 thanks for the contribution :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Esc does not work in visual mode
3 participants