mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 01:02:09 +02:00
bind: add page (#14084)
This commit is contained in:
parent
5a499e72f1
commit
4d9520c1ce
1 changed files with 24 additions and 0 deletions
24
pages/common/bind.md
Normal file
24
pages/common/bind.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# bind
|
||||
|
||||
> Bash builtin to manage bash hotkeys and variables.
|
||||
> More information: <https://www.gnu.org/software/bash/manual/bash.html#Bash-Builtins>.
|
||||
|
||||
- List all bound commands and their hotkeys:
|
||||
|
||||
`bind {{-p|-P}}`
|
||||
|
||||
- Query a command for its hotkey:
|
||||
|
||||
`bind -q {{command}}`
|
||||
|
||||
- Bind a key:
|
||||
|
||||
`bind -x '"{{key_sequence}}":{{command}}'`
|
||||
|
||||
- List user defined bindings:
|
||||
|
||||
`bind -X`
|
||||
|
||||
- Display help:
|
||||
|
||||
`help bind`
|
Loading…
Add table
Reference in a new issue