List of zsh bindkey commands

Jakub M. picture Jakub M. · Aug 4, 2013 · Viewed 36k times · Source

Where can I find a list of zsh commands that I can use with bindkey, with descriptions?

Each time that I look for name of some standard action (e.g., end-of-line), I need to google and guess that the command found is what I look for.

Related:

Answer

wjv picture wjv · Aug 15, 2016
  • 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).