elvish/website/ref/readline-binding.md

627 B

Introduction

The readline-binding module provides readline-like key bindings, such as binding Ctrl-A to move the cursor 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 function that clears the terminal screen rather than start location mode.

See the source code for details.