jupyterlab-contrib / jupyterlab-vim

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

Add :set nrformats support #76

Closed xt0r3-Cambridge closed 9 months ago

xt0r3-Cambridge commented 1 year ago

It is great that <C+a> is supported by the plugin, but I often use it to generate a list of subproblems for a task (4a, 4b, ...).

It would be great if I could somehow add "alpha" to the nrformats variable, like in actual vim using :set nrformats+=alpha

Alternatively, supporting :for and :put also work, but that is a lot trickier, I assume.

firai commented 10 months ago

jupyterlab-vim derives its vim capabilities from replit/codemirror-vim, and I think the option you're asking for would need to be implemented upstream. You can file an issue for codemirror-vim here: https://github.com/replit/codemirror-vim/issues.