Hacker News new | ask | show | jobs
by dr4g0n 4683 days ago
I may have to steal that alias, good tip.

Ctrl-a/Ctrl-e are equivalent to Home/End (unless you're inside a screen session, which was a terrible choice of binding on their part).

2 comments

Note that these aren't bash things. They're the emacs bindings for readline, so they work with anything that uses readline (like the mysql client).

You can set them to the vi ones instead with:

    set -o vi
..and they do work with screen ;-) (0 for start, $ for end)
> escape \000\040

in my screenrc changes this to 'CTRL+spacebar', which I find much more sensible.