mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 08:22:09 +02:00

* pages*: add missing mnemonics --------- Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
20 lines
349 B
Markdown
20 lines
349 B
Markdown
# 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 [s]equence:
|
|
|
|
`bindkey -s '^o' 'cd ..\n'`
|
|
|
|
- [l]ist keymaps:
|
|
|
|
`bindkey -l`
|
|
|
|
- View the hotkey in a key[M]ap:
|
|
|
|
`bindkey -M main`
|