nyxt
nyxt copied to clipboard
Expand keyschemes on Nyxt's built-in editor
Is this not done already? @Ambrevar @aartaka
It's not built-in, but one can easily enable Emacs bindings in plaintext editor using input-edit-mode
. And then, bindings are the responsibility of the editor extensions, our plaintext editor is just an example of how editor might look like.
So what should we do with this issue @aartaka?
I believe that setting emacs/vi bindings via common settings should also set them for the editor.
The only editor related mode that defines keybindings for cursor movements is input-edit-mode
, and it only does it for the emacs keyscheme.
But it seems that we don't actually enable that mode by default anywhere. The REPL and the prompt buffer binds cursor movements that input-edit-mode
defines.
I'm not sure exactly how it should happen, just that I think it would be what the user expects :-D