Hacker News new | ask | show | jobs
by diffeomorphism 2390 days ago
Linux has 3 keybinding schemes among which you can choose: emacs, vim and cua (what IBM introduced some years later, ctrl+c etc.).

I don't see why introducing a fourth one would help?

The main reason you can't simply flick a global switch between those three but have to do it per app seems to be the license of GNU readline.

2 comments

The specific bindings vary by person and hardly matters, but having an extra modifier in the Command key is invaluable. It lets you properly "namespace" key binds (ctrl and meta for emacs commands, CMD for global) and prevents hacks like copying text in terminal being different from copying text anywhere else (ctrl-c vs ctrl-shift-c in windows and linux, always CMD-c in macos).
Every time I use Linux I get bitten by the terminal using a different copy/paste shortcut. Drives me nuts.
Care to recommend a virtual terminal client app that supports Emacs keybindings well? Preferably available from Ubuntu 'apt'.
Well... emacs? :D

Seriously, though: emacs has several terminal emulators built in like ansi-term, comint, and eshell.

Is it cheating to say emacs itself?