view mcabber/doc/help/en/hlp_bind.txt @ 2049:0ba755e5dc48

ut_expand_tabs: Check the argument is not null It should never happen, but you never know...
author Mikael Berthe <mikael@lilotux.net>
date Wed, 28 Nov 2012 17:50:25 +0100
parents 59b53fed6de1
children
line wrap: on
line source


 /BIND [keycode [= command line]]

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.

/bind
 Display list of current bindings
/bind keycode
 Display the command line bound to this key
/bind keycode=
 Unbind key with code "keycode"
/bind keycode = command line
 Bind "command line" to the key with code "keycode"

Example: "/bind 265 = status away" (265 is F1).
Note: keycodes can be different depending on your ncurses configuration.
Tip: aliases also can be used instead of commands.