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!

2 Likes

Enjoying my first day on Observable, but the lack of vim keybindings will be a show stopper for me and my team before too long. It’s a shame they’re not available after so many years.

I’d even be willing to entertain a workaround - like editing in vim and then copy-paste into observable - if that was feasible (but I don’t think it is)

Back to using Observable again today. It looks like Tom Macwright has left observable
(About - macwright.com) – he was the guy above who said he’d work on this (maybe because of the tragedy of working with such a great tool that was so difficult to text edit? just sayin’)

So what do you say Observable friends, can you help? We really need this. Can you at least respond pls?

@LYPratt Feature requests are now tracked on GitHub. You will probably want to follow this issue:

1 Like