logoalt Hacker News

Joker_vDtoday at 8:45 AM2 repliesview on HN

> The “Works (Almost) Everywhere” Club

> The Backspace Replacements

Also known as "emacs editing mode". Funnily enough, what POSIX mandates is the support for "vi editing mode" which, to my knowledge, almost nobody ever uses. But it's there in most shells, and you can enable it with "set -o vi" in e.g. bash.


Replies

ZeroGravitastoday at 9:07 AM

Vi mode is also available in Claude code and gemini-cli to give some recent examples, and a bunch of other places you might not expect it, as well the more obvious places where code is written.

Once you get used to it, it is painful to go back.

show 1 reply
worksonminetoday at 10:24 AM

And if you set `set editing-mode vi` in ~/.inputrc (readline configuration) you'll have it in even more places.