mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-24 16:52:17 +00:00
Update cheatsheets
This commit is contained in:
10
tldr/bindkey
10
tldr/bindkey
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user