Update cheatsheets

This commit is contained in:
ivuorinen
2026-02-07 00:26:49 +00:00
parent efbccb61fb
commit c8acbc5872
15 changed files with 98 additions and 40 deletions

View File

@@ -5,9 +5,13 @@ source: https://github.com/tldr-pages/tldr.git
---
# bindkey
> Add keybindings to Z-Shell.
> Add hotkeys to Z shell.
> More information: <https://zsh.sourceforge.io/Guide/zshguide04.html>.
- List all existing hotkeys:
`bindkey`
- Bind a hotkey to a specific command:
`bindkey "{{^k}}" {{kill-line}}`
@@ -21,9 +25,9 @@ source: https://github.com/tldr-pages/tldr.git
`bindkey -l`
- View the hotkey in a key[M]ap:
- List all hotkeys in a key[M]ap:
`bindkey -M main`
`bindkey -M {{main}}`
- Enable [v]i mode: