Is it possible to enable the CodeMirror vim keybindings?

When I use jupyter, jsfiddle or codepen.io, I can enable vim keybindings in the codemirror editor. Is this possible somehow with observable notebooks as well?

https://codemirror.net/demo/vim.html

7 Likes

Yep, believe me, as the daily (neo)vim user on staff, I’m rallying hard for vim keybindings soon. There are a few hurdles we need to clear before we get there (storing settings, harmonizing keybindings with jupyter, making extra-sure that no keys interfere with Windows) but it’s certainly a priority for me / us.

12 Likes

Is there now a way to enable vim keybindings with observable notebooks?

3 Likes

It seems like vim keybindings option is important for the vim users.
@tom do you have any updated on the “hurdles cleanup” progress that you have mentioned a year ago?

1 Like

I’ll report back here the moment that anything changes with respect to vim keybindings. The feature is still on our list.

4 Likes

More than a year passed, @tom any news on this one?

1 Like

No update still. I’d love this too, but haven’t prioritized it.

1 Like

I don’t think any canned solution will please everyone, perhaps making the domain of key bindings moddable by authors who may import community configs is the way. There have been times I’d have liked to change the currently available standard bindings and this strategy might address that too? Sorry if I’m being naive here.

I’d just like to say Mike and co, this place… it’s full of stars, you folks are just about the coolest cats on the planet for me right now.

2 Likes

I’d also love to be able to use vim shortcuts!

1 Like