jupyterlab-vim
jupyterlab-vim copied to clipboard
Remap "hjkl"
Hi, first of all thanks for the great extension!
In my normal vim I have remapped "hkjl" to "jkl;". How can I do this in jupyterlab? And if it is not possible in your extension, do you know which files of jupyter I can modify to get this?
Thanks!
Some commands are defined inside the src/index.ts
file.
However, basic moves come from CodeMirror (https://codemirror.net/demo/vim.html)
In this file: https://codemirror.net/keymap/vim.js, there are the default key mappings.
You could try to remap them.
I think we talked about this on the jupyterlab issue https://github.com/jupyterlab/jupyterlab/issues/8436 but for any future finders of this issue I too ran into this and have made an extension that allows remappings using the jupyterlab settings editor: https://github.com/ianhi/jupyterlab-vimrc