jupyterlab-contrib / jupyterlab-vim

Vim notebook cell bindings for JupyterLab
https://jupyterlab-contrib.github.io/jupyterlab-vim.html
MIT License
662 stars 43 forks source link

Changing keybinding for switching from command mode to vim normal mode #27

Open anton-sturluson opened 3 years ago

anton-sturluson commented 3 years ago

Hi,

Thank you for your work; this works great, and I've been enjoying using it.

I'd like to change the keybinding for switching from command mode to vim normal mode in notebook files (which can be currently done with Enter). Ideally, something like this would be good but for the normal mode. Is there a way to do this?

ianhi commented 3 years ago

This would require a settings file so xref https://github.com/axelfahy/jupyterlab-vim/issues/24

ianhi commented 3 years ago

This can actually be done separately from this extension as this is a jupyterlab setting, so you can change it in Settings > Advanced Settings Editor > Shortcuts

erlebach commented 3 years ago

Hi,

I would like to disable the "-" commend to split cells since there is already ctrl-O + "-". I looked in the Advanced settings and found: (not the same thing.) Is this correct? Gordon.

{ "command": "imageviewer:zoom-out", "keys": [ "-" ], "selector": ".jp-ImageViewer" },