forked from PsychoticNinja/ailin-nemui-irssi
63 lines
1.6 KiB
Plaintext
63 lines
1.6 KiB
Plaintext
:::{important} You are reading the help for Irssi 1.0. **The current release version is Neırssi 1.3.**
|
||
:::
|
||
|
||
# bind
|
||
|
||
<!-- comment
|
||
|
||
Please submit changes to
|
||
- https://github.com/ailin-nemui/irssi/blob/master/docs/help/in/bind.in
|
||
- https://github.com/ailin-nemui/irssi/blob/master/src/fe-common/core/keyboard.c
|
||
|
||
|
||
endcomment -->
|
||
|
||
|
||
:::{toctree}
|
||
:maxdepth: 1
|
||
:hidden:
|
||
|
||
bind_-list
|
||
|
||
:::
|
||
|
||
## Syntax ##
|
||
|
||
<div class="irssisyntax highlight"><pre style="\-\-cmdlen:4ch"><code><span class="synB">BIND</span> <span class="syn10">[<span class="syn">-list</span>]</span> <span class="syn10">[<span class="syn">-delete</span>]</span> <span class="syn10">[<span class="syn09"><key></span> <span class="syn14">[<span class="syn13"><command></span> <span class="syn13">[<span class="syn14"><data></span>]</span>]</span>]</span></code></pre></div>
|
||
|
||
|
||
|
||
## Parameters ##
|
||
|
||
|
||
| | |
|
||
| --- | --- |
|
||
| [`-list`](/documentation/help/1.0/bind_-list): | Displays a list of all the bindable commands. |
|
||
| `-delete`: | Removes the binding, |
|
||
|
||
A name of the binding and the command to perform; if no parameter is given,
|
||
the list of bindings will be displayed.
|
||
|
||
Details:
|
||
|
||
Adds or removes a binding; the binding itself is case-sensitive and may
|
||
contain as many characters as you want.
|
||
|
||
Uppercase characters usually indicate that you need to keep the shift-key
|
||
pressed to use the binding.
|
||
|
||
## Examples ##
|
||
|
||
/BIND
|
||
/BIND meta-c /CLEAR
|
||
/BIND meta-q change_window 16
|
||
/BIND -delete meta-y
|
||
/BIND ^W^C /WINDOW NEW HIDE
|
||
/BIND ^W^K /WINDOW KILL
|
||
/BIND ^[[11~ command AWAY I'm off for today :)
|
||
/BIND ^[[12~ command AWAY
|
||
|
||
## See also ##
|
||
[ALIAS](/documentation/help/1.0/alias)
|
||
|