logoalt Hacker News

isollitoday at 8:06 AM2 repliesview on HN

I, for one, am happy that every terminal I've ever used still supports Emacs shortcuts. Useful, for instance, to cut a whole line and paste it later on (ctrl+k, ctrl+y).


Replies

elchtoday at 8:41 AM

Those are not terminal shortcuts. They are program shortcuts. E.g. bash supports Emacs command line editing shortcuts using GNU Readline library. But the library (and bash) support vi mode editing too. POSIX sh(1) specifies vi-mode command line editing only.

pjmlptoday at 8:23 AM

Agreed.