mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-22 10:51:15 +00:00
Move pages under tldr, lint run.sh, update docs
This commit is contained in:
26
tldr/bindkey
Normal file
26
tldr/bindkey
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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 ..
|
||||
'`
|
||||
|
||||
- [l]ist keymaps:
|
||||
|
||||
`bindkey -l`
|
||||
|
||||
- View the hotkey in a key[M]ap:
|
||||
|
||||
`bindkey -M main`
|
||||
Reference in New Issue
Block a user