Key Bindings

Æsh Readline supports customizable key bindings for editing operations.

Default Key Bindings

Emacs Mode

ActionKey Binding
Move back one characterC-b,
Move forward one characterC-f,
Delete char left of cursorBackspace
Delete char at cursorC-d
UndoC-_, C-x C-u
Move to start of lineC-a, Home
Move to end of lineC-e, End
Move forward wordM-f
Move backward wordM-b
Previous history
Next history
Clear screenC-l
Delete next wordM-d
CompleteTab
Kill to end of lineC-k
Kill to next wordM-d
Kill to prev whitespaceC-w
Yank (paste)C-y
Search history backwardC-r
Search history forwardC-s
Switch to Vi modeM-C-j

Vi Command Mode

ActionKey Binding
Move back one charh
Move forward one charl
Delete char left of cursorX
Delete char at cursorx
Undou
Move to start of line0
Move to end of line$
Move forward wordw
Move backward wordb
Previous linek,
Next linen,
Clear screenC-l
Delete next worddw
Kill to end of lineD, d$
Kill to prev worddb, dB
Yank after cursorp
Yank before cursorP
Enable change modec
Repeat previous action.

Vi Edit Mode

ActionKey Binding
Search history backwardC-r
Search history forwardC-s
Delete char left of cursorBackspace

Custom Key Bindings

To customize key bindings, implement custom actions and mappings.

Key Representation

  • C-x = Ctrl+x
  • M-x = Meta/Alt+x
  • Special keys: Enter, Tab, Escape, Space

Notation Key

  • C = Control key
  • M = Meta/Alt key
  • Keys are case-sensitive when combined with Control/Meta