mirror of
https://github.com/weechat/weechat.git
synced 2026-06-12 14:14:48 +02:00
core: add modifiers, key names and combos in /help key
This commit is contained in:
+14
-3
@@ -8326,7 +8326,18 @@ command_init ()
|
||||
"\n"
|
||||
"When binding a command to a key, it is recommended to use key alt+k "
|
||||
"(or Esc then k), and then press the key to bind: this will insert "
|
||||
"key code in command line.\n"
|
||||
"key name in command line.\n"
|
||||
"\n"
|
||||
"Modifiers allowed (in this order when multiple are used):\n"
|
||||
" meta- (alt key)\n"
|
||||
" ctrl- (control key)\n"
|
||||
" shift- (shift key)\n"
|
||||
"\n"
|
||||
"Key names allowed: f0 to f20, home, insert, delete, end, "
|
||||
"backspace, pgup, pgdn, up, down, right, left, tab, return, comma, "
|
||||
"space.\n"
|
||||
"\n"
|
||||
"Combo of keys must be separated by a comma.\n"
|
||||
"\n"
|
||||
"For context \"mouse\" (possible in context \"cursor\" too), key has "
|
||||
"format: \"@area:key\" or \"@area1>area2:key\" where area can be:\n"
|
||||
@@ -8346,12 +8357,12 @@ command_init ()
|
||||
"ignored when looking for keys).\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" key alt-t to toggle nicklist bar:\n"
|
||||
" /key bind meta-t /bar toggle nicklist\n"
|
||||
" key alt-r to jump to #weechat IRC channel:\n"
|
||||
" /key bind meta-r /buffer #weechat\n"
|
||||
" restore default binding for key alt-r:\n"
|
||||
" /key reset meta-r\n"
|
||||
" key meta-v then f1 to run /help:\n"
|
||||
" /key bind meta-v,f1 /help\n"
|
||||
" key \"tab\" to stop search in buffer:\n"
|
||||
" /key bindctxt search tab /input search_stop\n"
|
||||
" middle button of mouse on a nick to retrieve info on nick:\n"
|
||||
|
||||
Reference in New Issue
Block a user