The readline-binding module provides readline-like key bindings, such as binding Ctrl-A to move the cur‐
sor to the start of the line. To use, put the following in ~/.elvish/rc.elv:
use readline-binding
Note that this will override some of the standard bindings. For example, Ctrl-L will be bound to a func‐
tion that clears the terminal screen rather than start location mode.
See the source code (https://github.com/elves/elvish/blob/master/pkg/mods/bundled/readline-bind‐
ing.elv.go) for details.
Elvish 0.17.0 Nov 18, 2024 elvish-readline-binding(7)