annotate 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 |
|
rev |
line source |
904
|
1
|
|
2 /BIND [keycode [= command line]]
|
|
3
|
915
|
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
|
5
|
|
6 /bind
|
|
7 Display list of current bindings
|
|
8 /bind keycode
|
|
9 Display the command line bound to this key
|
|
10 /bind keycode=
|
915
|
11 Unbind key with code "keycode"
|
904
|
12 /bind keycode = command line
|
915
|
13 Bind "command line" to the key with code "keycode"
|
904
|
14
|
|
15 Example: "/bind 265 = status away" (265 is F1).
|
|
16 Note: keycodes can be different depending on your ncurses configuration.
|
|
17 Tip: aliases also can be used instead of commands.
|