bindkey
Add hotkeys to Z shell. tldr-pages
On several platforms
Several platforms
List all existing hotkeys
bindkeyIdentifyBind a hotkey to a specific command
bindkey "^k" kill-lineIdentifyBind a hotkey to a specific key sequence
bindkey -s '^o' 'cd ..\n'Identifylist keymaps
bindkey -lIdentifyList all hotkeys in a keyMap
bindkey -M mainIdentifyEnable vi mode
bindkey -vIdentifyEnable emacs mode (default mode)
bindkey -eIdentifyCheck which mode is active (vi or emacs)
bindkey -lL main | grep -Eo 'viins|emacs'Identify