From 4d9520c1ce7e946c03e0f31591be74d96c5850ab Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Thu, 10 Oct 2024 15:57:40 +0300 Subject: [PATCH] bind: add page (#14084) --- pages/common/bind.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/common/bind.md diff --git a/pages/common/bind.md b/pages/common/bind.md new file mode 100644 index 000000000..7c0ba2b77 --- /dev/null +++ b/pages/common/bind.md @@ -0,0 +1,24 @@ +# bind + +> Bash builtin to manage bash hotkeys and variables. +> More information: . + +- 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`