Mercurial > hg
view mcabber/doc/help/en/hlp_bind.txt @ 1176:547a8ca7c1a8
Move init_bindings() to screen.c, with a few updates
- Move the function init_bindings() to screen.c scr_init_bindings()
- Get rid of the malloc/free
- Add two key bindings: Meta-a, Meta-b
- Put the comments on the same line when it is possible, in order to save
some space.
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Wed, 04 Apr 2007 22:03:49 +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.