diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2023-02-22 21:18:22 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2023-03-16 20:42:19 +0100 |
commit | 1f5c791c37957d8714fb0e7d6e962531790e259b (patch) | |
tree | 964d045319a87430d8ca117bba3a42daafbf8e22 /doc/en/weechat_faq.en.adoc | |
parent | 5b5ccb236f2f59cd792f0a2bda148d951b9156ed (diff) | |
download | weechat-1f5c791c37957d8714fb0e7d6e962531790e259b.zip |
core: use new key name in command `/key` and configuration file
Legacy keys are automatically converted to new names when loading configuration
file `weechat.conf`.
Examples:
"ctrl-I" => "tab"
"meta2-1;3A" => "meta-up"
"meta2-Z" => "shift-tab"
"meta-wmeta-meta2-A" => "meta-w,meta-up"
"ctrl-Cb" => "ctrl-c,b"
Diffstat (limited to 'doc/en/weechat_faq.en.adoc')
-rw-r--r-- | doc/en/weechat_faq.en.adoc | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/doc/en/weechat_faq.en.adoc b/doc/en/weechat_faq.en.adoc index c57558db6..ae518fee4 100644 --- a/doc/en/weechat_faq.en.adoc +++ b/doc/en/weechat_faq.en.adoc @@ -630,14 +630,18 @@ history are kbd:[Ctrl+↑] and kbd:[Ctrl+↓]). Example: ---- +/key bind up /input history_global_previous +/key bind down /input history_global_next +---- + +With WeeChat ≤ 3.8, you must use the raw key code (press kbd:[Alt+k] then key +to display its code): + +---- /key bind meta2-A /input history_global_previous /key bind meta2-B /input history_global_next ---- -[NOTE] -Keys "meta2-A" and "meta2-B" may be different in your terminal. To find key -code press kbd:[Alt+k] then key. - [[mouse]] == Mouse |