mcabber/doc/help/en/hlp_bind.txt
author franky
Sat, 18 May 2019 20:41:52 +0200
changeset 2347 db8de1b464d3
parent 915 59b53fed6de1
permissions -rw-r--r--
Reordered some lines of code for clarity
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
904
9d11c1b1af7a English help files
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
     1
9d11c1b1af7a English help files
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
     2
 /BIND [keycode [= command line]]
9d11c1b1af7a English help files
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
     3
915
59b53fed6de1 Update help files
Mikael Berthe <mikael@lilotux.net>
parents: 904
diff changeset
     4
Bind the command to the key given as "keycode".  To examine which keys are currently not used look at `mcabber` log window and press examined key.  For example: "Unknown key=265" means that you can bind some command to key #265.
904
9d11c1b1af7a English help files
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
     5
9d11c1b1af7a English help files
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
     6
/bind
9d11c1b1af7a English help files
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
     7
 Display list of current bindings
9d11c1b1af7a English help files
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
     8
/bind keycode
9d11c1b1af7a English help files
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
     9
 Display the command line bound to this key
9d11c1b1af7a English help files
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    10
/bind keycode=
915
59b53fed6de1 Update help files
Mikael Berthe <mikael@lilotux.net>
parents: 904
diff changeset
    11
 Unbind key with code "keycode"
904
9d11c1b1af7a English help files
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    12
/bind keycode = command line
915
59b53fed6de1 Update help files
Mikael Berthe <mikael@lilotux.net>
parents: 904
diff changeset
    13
 Bind "command line" to the key with code "keycode"
904
9d11c1b1af7a English help files
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    14
9d11c1b1af7a English help files
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    15
Example: "/bind 265 = status away" (265 is F1).
9d11c1b1af7a English help files
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    16
Note: keycodes can be different depending on your ncurses configuration.
9d11c1b1af7a English help files
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    17
Tip: aliases also can be used instead of commands.