List of zsh bindkey commands

  • bindkey -l will give you a list of existing keymap names.

  • bindkey -M <keymap> will list all the bindings in a given keymap.

  • If you use the zsh command line in emacs mode, then the emacs keymap is likely to be most important for you.

  • If you use it in vi mode, then you’d be interested in viins and vicmd.

(See the zshzle(1) man page for more details.)

Once you have a list of keybindings, you can search the official ZLE documentation for the name of the action (or “widget” in zsh parlance).


zle -al

lists all registered zle commands


Commands available for use in the line editor are referred to as widgets. The standard widgets are listed in the zshzle manpage in the STANDARD WIDGETS section. That manpage is also available from the zsh website

Tags:

Zsh

Zsh Zle