3 ms·
> the emacs cursor movement commands, which are (for some reason) the default cursor movement commands in most command line environments like the Postgres CLI.
by pxc 4y ago
> the emacs cursor movement commands, which are (for some reason) the default cursor movement commands in most command line environments like the Postgres CLI.
I think this is because they're used in GNU readline. They're also defaults in all the macOS GUIs, though, so maybe not.
- commandlinefan 4y ago> GNU readline Interesting... I always assumed that emacs was around for a while before anybody generalized a "readline" library, but I guess it makes sense that readline would have come first.
- slavapestov 4y agoemacs definitely came first, and readline adopted emacs bindings (it also supports vi)