diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2011-07-05 15:36:42 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2011-07-05 15:36:42 +0200 |
commit | 3bea55b2f0759541b0d8930396eb4fc1f7d62ecc (patch) | |
tree | 08d5886e45a114e02e7a8aa9b30708466d102970 /doc/en/autogen | |
parent | 5250b68d0a1d9871b9d89ff1253290372a747cf6 (diff) | |
download | weechat-3bea55b2f0759541b0d8930396eb4fc1f7d62ecc.zip |
core: add context "search" for keys (to define keys used during search in buffer with ctrl+"r")
Diffstat (limited to 'doc/en/autogen')
-rw-r--r-- | doc/en/autogen/plugin_api/completions.txt | 2 | ||||
-rw-r--r-- | doc/en/autogen/user/weechat_commands.txt | 25 |
2 files changed, 21 insertions, 6 deletions
diff --git a/doc/en/autogen/plugin_api/completions.txt b/doc/en/autogen/plugin_api/completions.txt index c33587bfe..b0bc80eeb 100644 --- a/doc/en/autogen/plugin_api/completions.txt +++ b/doc/en/autogen/plugin_api/completions.txt @@ -90,6 +90,8 @@ | weechat | keys_codes_for_reset | key codes that can be reset (keys added, redefined or removed) +| weechat | keys_contexts | key contexts + | weechat | nicks | nicks in nicklist of current buffer | weechat | palette_colors | palette colors diff --git a/doc/en/autogen/user/weechat_commands.txt b/doc/en/autogen/user/weechat_commands.txt index 7a3fb70ee..48f64285a 100644 --- a/doc/en/autogen/user/weechat_commands.txt +++ b/doc/en/autogen/user/weechat_commands.txt @@ -249,6 +249,10 @@ list of actions: complete_next: complete word with next completion complete_previous: complete word with previous completion search_text: search text in buffer + search_switch_case: switch exact case for search + search_previous: search previous line + search_next: search next line + search_stop: stop search delete_previous_char: delete previous char delete_next_char: delete next char delete_previous_word: delete previous word @@ -289,19 +293,26 @@ This command is used by key bindings or plugins. [command]*`key`* bind/unbind keys:: ........................................ -/key list|listdefault|listdiff +/key list|listdefault|listdiff [<context>] bind <key> [<command> [<args>]] + bindctxt <context> <key> [<command> [<args>]] unbind <key> + unbindctxt <context> <key> reset <key> - resetall -yes - missing + resetctxt <context> <key> + resetall -yes [<context>] + missing [<context>] 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 + context: name of context ("default" or "search") + bind: bind a command to a key or display command bound to key (for context "default") + bindctxt: bind a command to a key or display command bound to key, for given context + unbind: remove a key binding (for context "default") + unbindctxt: remove a key binding for given context + reset: reset a key to default binding (for context "default") + resetctxt: reset a key to default binding, for given context 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 @@ -314,6 +325,8 @@ Examples: /key bind meta-r /buffer #weechat restore default binding for key alt-r: /key reset meta-r + key "tab" to stop search in buffer: + /key bindctxt search ctrl-I /input search_stop ........................................ [command]*`layout`* save/apply/reset layout for buffers and windows:: |