From 96e6ae3fc31470db029ed99e3b55693f60a11067 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Wed, 24 Mar 2010 19:54:31 +0100 Subject: 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". --- doc/en/autogen/user/irc_commands.txt | 2 +- doc/en/autogen/user/weechat_commands.txt | 26 +++++++++++++++++++------- 2 files changed, 20 insertions(+), 8 deletions(-) (limited to 'doc/en/autogen/user') diff --git a/doc/en/autogen/user/irc_commands.txt b/doc/en/autogen/user/irc_commands.txt index 255a16120..6b85f12f9 100644 --- a/doc/en/autogen/user/irc_commands.txt +++ b/doc/en/autogen/user/irc_commands.txt @@ -484,7 +484,7 @@ ........................................ list, add or remove IRC servers - list: list servers (no parameter implies this list) + list: list servers (without argument, this list is displayed) listfull: list servers with detailed info for each server add: create a new server servername: server name, for internal and display use 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. ........................................ -• *`/key`* `[bind key [command [args]]] | [unbind key] | [reset -yes] | [missing]`:: +• *`/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 ........................................ • *`/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 # -- cgit v1.2.3