mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-10-06 08:17:58 +03:00
b9919a01fb
Co-authored-by: Muhammad Falak R Wani <falakreyaz@gmail.com> Co-authored-by: Axel Navarro <navarroaxel@gmail.com>
343 B
343 B
bindkey
Add keybindings to Z-Shell. More information: https://zsh.sourceforge.io/Guide/zshguide04.html.
- Bind a hotkey to a specific command:
bindkey "{{^k}}" {{kill-line}}
- Bind a hotkey to a specific key sequence:
bindkey -s '^o' 'cd ..\n'
- View keymaps:
bindkey -l
- View the hotkey in a keymap:
bindkey -M main