logoalt Hacker News

mesriktoday at 4:26 PM1 replyview on HN

Yes, emacs keystrokes became kind of cli lingua franca, which apparently many do not know. I don't remember my self ever read about those supported explicitly anywhere, but accidentally I found out long time ago and then whenever I try new systems, programs and whatever I try which keystrokes do work. Quite often at least some work.


Replies

mftbtoday at 5:14 PM

It's GNU Readline[0] or similar. It's all over the place, on Linux at least. Being GNU it defaults to emacs, but the vi support is also excellent. The first thing I type in any foreign bash is 'set -o vi'.

[0] - https://en.wikipedia.org/wiki/GNU_Readline