Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
For that, try Kakoune[1], which is modal with a mostly-postfix language instead of vi's usually-prefix one and uses this to also be a multiple-selections editor with immediate visual feedback. It falls too much into the uncanny valley of almost-but-not-quite-vi for some people, though.
[1] https://kakoune.org/, https://github.com/mawww/kakoune
I saw this editor recently as a consequence of noticing that there seems to be a rewrite of the termbox library (ncurses alternative) in progress: https://github.com/termbox/termbox2
> The default key bindings are intuitive. Input text as normal, use directional keys to move around, use Ctrl-S to save, Ctrl-O to open, Ctrl-X to exit.
Ctrl-X to exit is not intuitive. That's used to cut text almost everywhere. Instead, use Ctrl-Q (quit) to exit.
It's been 35 years since CUA[1]. Another terminal editor, micro[2], already adopted these conventions (Ctrl-C to copy, Ctrl-X to cut, Ctrl-V to paste), other terminal editors should as well.
[1]: https://en.wikipedia.org/wiki/IBM_Common_User_Access
[2]: https://micro-editor.github.io/
In fact I tried that before writing the comment, however, I've configured alacritty to run the copy command when I press Ctrl-C and to send Ctrl-C to the running application when I press Ctrl-Shift-C[1], so it didn't work.
[1]: https://github.com/alacritty/alacritty/issues/3696#issuecomm...