view mcabber/doc/help/en/hlp_bind.txt @ 2269:766666eb6928

Link with the tinfo library On some systems we have to explicitly link with libtinfo. pkg-config cannot be used on every system with ncurses, see discussion in https://bugs.gentoo.org/show_bug.cgi?id=457530#c18 For now we'll use the same fix as Mutt: https://dev.mutt.org/hg/mutt/rev/c84aa0d62ce3 Thanks to Wolfram Schlich for the report and troubleshooting!
author Mikael Berthe <mikael@lilotux.net>
date Mon, 12 Sep 2016 22:39:04 +0200
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.