summaryrefslogtreecommitdiff
path: root/doc/en/autogen/user/weechat_commands.txt
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2010-03-24 19:54:31 +0100
committerSebastien Helleu <flashcode@flashtux.org>2010-03-24 19:54:31 +0100
commit96e6ae3fc31470db029ed99e3b55693f60a11067 (patch)
tree60b32a0808e0a5f9d325a9f56ef069d1bdf27e9b /doc/en/autogen/user/weechat_commands.txt
parentb932f403a55672c2f9f7a3188fa6d0d829faa356 (diff)
downloadweechat-96e6ae3fc31470db029ed99e3b55693f60a11067.zip
Add new options for command /key (listdefault, listdiff and reset), add examples in /help key
Note: old option "reset" for /key has been renamed to "resetall".
Diffstat (limited to 'doc/en/autogen/user/weechat_commands.txt')
-rw-r--r--doc/en/autogen/user/weechat_commands.txt26
1 files changed, 19 insertions, 7 deletions
diff --git a/doc/en/autogen/user/weechat_commands.txt b/doc/en/autogen/user/weechat_commands.txt
index 793472688..09f218620 100644
--- a/doc/en/autogen/user/weechat_commands.txt
+++ b/doc/en/autogen/user/weechat_commands.txt
@@ -64,7 +64,7 @@
(by default ctrl-x switches between merged buffers)
unmerge: unmerge buffer from other buffers which have same number
close: close buffer (number/range is optional)
- list: list buffers (no parameter implies this list)
+ list: list buffers (without argument, this list is displayed)
notify: set notify level for current buffer: this level determines whether buffer will be added to hotlist or not:
none: never
highlight: for highlights only
@@ -186,17 +186,29 @@
This command is used by key bindings or plugins.
........................................
-&bull; *`/key`* `[bind key [command [args]]] | [unbind key] | [reset -yes] | [missing]`::
+&bull; *`/key`* `[list | listdefault | listdiff] | [bind key [command [args]]] | [unbind key] | [reset key] | [resetall -yes] | [missing]`::
........................................
bind/unbind keys
- bind: bind a command to a key or display command bound to key
- unbind: remove a key binding
- reset: restore bindings to the default values and delete ALL personal bindings (use carefully!)
- missing: add missing keys (using default bindings)
+ list: list all current keys (without argument, this list is displayed)
+ listdefault: list default keys
+ listdiff: list differences between current and default keys (keys added, redefined or deleted)
+ bind: bind a command to a key or display command bound to key
+ unbind: remove a key binding
+ reset: reset a key to default binding
+ resetall: restore bindings to the default values and delete ALL personal bindings (use carefully!)
+ missing: add missing keys (using default bindings), useful after installing new WeeChat version
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.
+
+ Examples:
+ key alt-x to toggle nicklist bar:
+ /key bind meta-x /bar toggle nicklist
+ key alt-r to jump to #weechat IRC channel:
+ /key bind meta-r /buffer #weechat
+ restore default binding for key alt-r:
+ /key reset meta-r
........................................
&bull; *`/layout`* `[[save | apply | reset] [buffers | windows]]`::
@@ -393,7 +405,7 @@
........................................
manage windows
- list: list opened windows (no parameter implies this list)
+ list: list opened windows (without argument, this list is displayed)
-1: jump to previous window
+1: jump to next window
b#: jump to next window displaying buffer number #