2011-08-03 20:10:11 +02:00
[[command_weechat_away]]
2011-02-04 22:12:19 +01:00
[command]*`away`* toggle away status::
........................................
/away [-all] [<message>]
-all: toggle away status on all connected servers
message: message for away (if no message is given, away status is removed)
........................................
2011-08-03 20:10:11 +02:00
[[command_weechat_bar]]
2011-02-04 22:12:19 +01:00
[command]*`bar`* manage bars::
........................................
/bar list|listfull|listitems
add <name> <type>[,<cond1>[,<cond2>...]] <position> <size> <separator> <item1>[,<item2>...]
2011-03-18 15:36:52 +01:00
default [input|title|status|nicklist]
2011-02-04 22:12:19 +01:00
del <name>|-all
set <name> <option> <value>
hide|show|toggle <name>
2011-07-29 19:46:02 +02:00
scroll <name> <window> <scroll_value>
2011-02-04 22:12:19 +01:00
list: list all bars
listfull: list all bars (verbose)
listitems: list all bar items
add: add a new bar
name: name of bar (must be unique)
type: root: outside windows,
window: inside windows, with optional conditions (see below)
cond1,...: condition(s) for displaying bar (only for type "window"):
active: on active window
inactive: on inactive windows
nicklist: on windows with nicklist
without condition, bar is always displayed
position: bottom, top, left or right
size: size of bar (in chars)
separator: 1 for using separator (line), 0 or nothing means no separator
item1,...: items for this bar (items can be separated by comma (space between items) or "+" (glued items))
2011-03-18 15:36:52 +01:00
default: create a default bar (all default bars if no bar name is given)
2011-02-04 22:12:19 +01:00
del: delete a bar (or all bars with -all)
set: set a value for a bar property
option: option to change (for options list, look at /set weechat.bar.<barname>.*)
value: new value for option
hide: hide a bar
show: show an hidden bar
toggle: hide/show a bar
scroll: scroll bar
2011-07-29 19:46:02 +02:00
window: window number (use '*' for current window or for root bars)
2011-07-26 18:50:29 +02:00
scroll_value: value for scroll: 'x' or 'y' (optional), followed by '+', '-', 'b' (beginning) or 'e' (end), value (for +/-), and optional % (to scroll by % of width/height, otherwise value is number of chars)
2011-02-04 22:12:19 +01:00
Examples:
create a bar with time, buffer number + name, and completion:
/bar add mybar root bottom 1 0 [time],buffer_number+:+buffer_name,completion
hide a bar:
/bar hide mybar
scroll nicklist 10 lines down on current buffer:
/bar scroll nicklist * y+10
scroll nicklist one page up on #weechat buffer:
/bar scroll nicklist #weechat y-100%
scroll to end of nicklist on current buffer:
/bar scroll nicklist * ye
........................................
2011-08-03 20:10:11 +02:00
[[command_weechat_buffer]]
2011-02-04 22:12:19 +01:00
[command]*`buffer`* manage buffers::
........................................
/buffer list
2011-08-16 22:22:42 +02:00
clear [<number>|<name>|-merged|-all]
2011-02-04 22:12:19 +01:00
move|merge <number>
2011-08-04 17:24:53 +02:00
unmerge [<number>|-all]
2011-07-27 13:52:08 +02:00
close [<n1>[-<n2>]|<name>]
2011-02-04 22:12:19 +01:00
notify <level>
localvar
set <property> <value>
get <property>
<number>|<name>
list: list buffers (without argument, this list is displayed)
clear: clear buffer content (number for a buffer, -merged for merged buffers, -all for all buffers, or nothing for current buffer)
move: move buffer in the list (may be relative, for example -1)
merge: merge current buffer to another buffer (chat area will be mix of both buffers)
(by default ctrl-x switches between merged buffers)
unmerge: unmerge buffer from other buffers which have same number
2011-07-27 13:52:08 +02:00
close: close buffer (number/range or name is optional)
2011-02-04 22:12:19 +01:00
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
message: for messages from users + highlights
all: all messages
reset: reset to default value (all)
localvar: display local variables for current buffer
set: set a property for current buffer
get: display a property of current buffer
number: jump to buffer by number, possible prefix:
'+': relative jump, add number to current
'-': relative jump, sub number to current
'*': jump to number, using option "weechat.look.jump_current_to_previous_buffer"
name: jump to buffer by (partial) name
Examples:
clear current buffer:
/buffer clear
move buffer to number 5:
/buffer move 5
merge with core buffer:
/buffer merge 1
unmerge buffer:
/buffer unmerge
close current buffer:
/buffer close
close buffers 5 to 7:
/buffer close 5-7
jump to #weechat:
/buffer #weechat
jump to next buffer:
/buffer +1
........................................
2011-08-03 20:10:11 +02:00
[[command_weechat_color]]
2011-02-04 22:12:19 +01:00
[command]*`color`* define color aliases and display palette of colors::
........................................
2011-05-11 18:40:20 +02:00
/color alias <color> <name>
2011-02-04 22:12:19 +01:00
unalias <color>
reset
alias: add an alias for a color
unalias: delete an alias
2011-08-04 16:13:34 +02:00
color: color number (greater than or equal to 0, max depends on terminal, commonly 63 or 255)
2011-02-04 22:12:19 +01:00
name: alias name for color (for example: "orange")
2011-04-17 11:02:45 +02:00
reset: reset all color pairs (required when no more color pairs are available if automatic reset is disabled, see option weechat.look.color_pairs_auto_reset)
2011-02-04 22:12:19 +01:00
Without argument, this command displays colors in a new buffer.
Examples:
add alias "orange" for color 214:
/color alias 214 orange
delete color 214:
/color unalias 214
........................................
2011-08-03 20:10:11 +02:00
[[command_weechat_command]]
2011-02-04 22:12:19 +01:00
[command]*`command`* launch explicit WeeChat or plugin command::
........................................
/command <plugin> <command>
plugin: plugin name ('weechat' for WeeChat internal command)
command: command to execute (a '/' is automatically added if not found at beginning of command)
........................................
2011-08-03 20:10:11 +02:00
[[command_weechat_cursor]]
2011-07-26 18:50:29 +02:00
[command]*`cursor`* free movement of cursor on screen to execute actions on specific areas of screen::
........................................
/cursor go chat|<bar>|<x>,<y>
move up|down|left|right|area_up|area_down|area_left|area_right
stop
go: move cursor to chat area, a bar (using bar name) or coordinates "x,y"
move: move cursor with direction
stop: stop cursor mode
Without argument, this command toggles cursor mode.
When mouse is enabled (see /help mouse), by default a middle click will start cursor mode at this point.
Examples:
go to nicklist:
/cursor go nicklist
go to coordinates x=10, y=5:
/cursor go 10,5
........................................
2011-08-03 20:10:11 +02:00
[[command_weechat_debug]]
2011-02-04 22:12:19 +01:00
[command]*`debug`* control debug for core/plugins::
........................................
/debug list
set <plugin> <level>
dump [<plugin>]
2011-08-14 11:30:08 +02:00
buffer|color|infolists|memory|tags|term|windows
mouse|cursor [verbose]
2011-06-26 18:15:42 +02:00
hdata [free]
2011-06-01 09:07:17 +02:00
list: list plugins with debug levels
set: set debug level for plugin
plugin: name of plugin ("core" for WeeChat core)
level: debug level for plugin (0 = disable debug)
dump: save memory dump in WeeChat log file (same dump is written when WeeChat crashes)
buffer: dump buffer content with hexadecimal values in log file
color: display infos about current color pairs
2011-07-26 18:50:29 +02:00
cursor: toggle debug for cursor mode
2011-06-26 18:15:42 +02:00
hdata: display infos about hdata (with free: remove all hdata in memory)
2011-06-01 09:07:17 +02:00
infolists: display infos about infolists
memory: display infos about memory usage
2011-07-26 18:50:29 +02:00
mouse: toggle debug for mouse
2011-06-13 15:25:38 +02:00
tags: display tags for lines
2011-06-01 09:07:17 +02:00
term: display infos about terminal
windows: display windows tree
2011-02-04 22:12:19 +01:00
........................................
2011-08-03 20:10:11 +02:00
[[command_weechat_filter]]
2011-02-04 22:12:19 +01:00
[command]*`filter`* filter messages in buffers, to hide/show them according to tags or regex::
........................................
/filter list
enable|disable|toggle [<name>]
2011-03-09 10:13:41 +01:00
add <name> <buffer>[,<buffer>...] <tags> <regex>
2011-02-04 22:12:19 +01:00
del <name>|-all
2011-03-09 10:13:41 +01:00
list: list all filters
enable: enable filters (filters are enabled by default)
disable: disable filters
toggle: toggle filters
name: filter name
add: add a filter
del: delete a filter
-all: delete all filters
buffer: comma separated list of buffers where filter is active:
- this is full name including plugin (example: "irc.freenode.#weechat")
- "*" means all buffers
- a name starting with '!' is excluded
- name can start or end with '*' to match many buffers
tags: comma separated list of tags, for example: "irc_join,irc_part,irc_quit"
regex: regular expression to search in line
- use '\t' to separate prefix from message, special chars like '|' must be escaped: '\|'
- if regex starts with '!', then matching result is reversed (use '\!' to start with '!')
- two regular expressions are created: one for prefix and one for message
2011-02-04 22:12:19 +01:00
The default key alt+'=' toggles filtering on/off.
Tags most commonly used:
no_filter, no_highlight, no_log, log0..log9 (log level),
2011-04-11 13:57:00 +02:00
notify_none, notify_message, notify_private, notify_highlight,
2011-02-04 22:12:19 +01:00
nick_xxx (xxx is nick in message),
irc_xxx (xxx is command name or number, see /server raw),
irc_numeric, irc_error, irc_action, irc_ctcp, irc_ctcp_reply, irc_smart_filter, away_info.
2011-06-13 15:25:38 +02:00
To see tags for lines in buffers: /debug tags
2011-02-04 22:12:19 +01:00
Examples:
2011-03-09 10:13:41 +01:00
use IRC smart filter on all buffers:
2011-02-04 22:12:19 +01:00
/filter add irc_smart * irc_smart_filter *
2011-03-09 10:13:41 +01:00
use IRC smart filter on all buffers except those with "#weechat" in name:
/filter add irc_smart *,!*#weechat* irc_smart_filter *
2011-02-04 22:12:19 +01:00
filter all IRC join/part/quit messages:
/filter add joinquit * irc_join,irc_part,irc_quit *
filter nicks displayed when joining channels or with /names:
/filter add nicks * irc_366 *
filter nick "toto" on IRC channel #weechat:
/filter add toto irc.freenode.#weechat * toto\t
keep only nick "titi" on IRC channel #test:
/filter add titi irc.freenode.#test * !titi\t
filter lines containing word "spam":
/filter add filterspam * * spam
filter lines containing "weechat sucks" on IRC channel #weechat:
/filter add sucks irc.freenode.#weechat * weechat sucks
........................................
2011-08-03 20:10:11 +02:00
[[command_weechat_help]]
2011-02-04 22:12:19 +01:00
[command]*`help`* display help about commands and options::
........................................
2011-02-07 18:33:05 +01:00
/help -list|-listfull [<plugin> [<plugin>...]]
<command>
2011-02-04 22:12:19 +01:00
<option>
2011-02-07 18:33:05 +01:00
-list: list commands, by plugin (without argument, this list is displayed)
-listfull: list commands with description, by plugin
plugin: list commands for this plugin
command: a command name
option: an option name (use /set to see list)
2011-02-04 22:12:19 +01:00
........................................
2011-08-03 20:10:11 +02:00
[[command_weechat_history]]
2011-02-04 22:12:19 +01:00
[command]*`history`* show buffer command history::
........................................
/history clear
<value>
clear: clear history
value: number of history entries to show
........................................
2011-08-03 20:10:11 +02:00
[[command_weechat_input]]
2011-02-04 22:12:19 +01:00
[command]*`input`* functions for command line::
........................................
/input <action> [<arguments>]
list of actions:
return: simulate key "enter"
complete_next: complete word with next completion
complete_previous: complete word with previous completion
search_text: search text in buffer
2011-07-05 15:36:42 +02:00
search_switch_case: switch exact case for search
search_previous: search previous line
search_next: search next line
search_stop: stop search
2011-02-04 22:12:19 +01:00
delete_previous_char: delete previous char
delete_next_char: delete next char
delete_previous_word: delete previous word
delete_next_word: delete next word
delete_beginning_of_line: delete from beginning of line until cursor
delete_end_of_line: delete from cursor until end of line
delete_line: delete entire line
clipboard_paste: paste from clipboard
transpose_chars: transpose two chars
undo: undo last command line action
redo: redo last command line action
move_beginning_of_line: move cursor to beginning of line
move_end_of_line: move cursor to end of line
move_previous_char: move cursor to previous char
move_next_char: move cursor to next char
move_previous_word: move cursor to previous word
move_next_word: move cursor to next word
history_previous: recall previous command in current buffer history
history_next: recall next command in current buffer history
history_global_previous: recall previous command in global history
history_global_next: recall next command in global history
jump_smart: jump to next buffer with activity
jump_last_buffer: jump to last buffer
jump_previously_visited_buffer: jump to previously visited buffer
jump_next_visited_buffer: jump to next visited buffer
hotlist_clear: clear hotlist
2011-07-26 18:50:29 +02:00
grab_key: grab a key (optional argument: delay for end of grab, default is 500 milliseconds)
grab_key_command: grab a key with its associated command (optional argument: delay for end of grab, default is 500 milliseconds)
2011-07-30 15:44:55 +02:00
grab_mouse: grab mouse event code
grab_mouse_area: grab mouse event code with area
2011-02-04 22:12:19 +01:00
scroll_unread: scroll to unread marker
set_unread: set unread marker for all buffers
set_unread_current_buffer: set unread marker for current buffer
switch_active_buffer: switch to next merged buffer
switch_active_buffer_previous: switch to previous merged buffer
insert: insert text in command line
This command is used by key bindings or plugins.
........................................
2011-08-03 20:10:11 +02:00
[[command_weechat_key]]
2011-02-04 22:12:19 +01:00
[command]*`key`* bind/unbind keys::
........................................
2011-07-05 15:36:42 +02:00
/key list|listdefault|listdiff [<context>]
2011-02-04 22:12:19 +01:00
bind <key> [<command> [<args>]]
2011-07-05 15:36:42 +02:00
bindctxt <context> <key> [<command> [<args>]]
2011-02-04 22:12:19 +01:00
unbind <key>
2011-07-05 15:36:42 +02:00
unbindctxt <context> <key>
2011-02-04 22:12:19 +01:00
reset <key>
2011-07-05 15:36:42 +02:00
resetctxt <context> <key>
resetall -yes [<context>]
missing [<context>]
2011-02-04 22:12:19 +01:00
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)
2011-07-05 15:36:42 +02:00
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
2011-02-04 22:12:19 +01:00
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.
2011-08-15 21:49:20 +02:00
For context "mouse" (possible in context "cursor" too), key has format: "@area:key" or "@area1>area2:key" where area can be:
2011-07-30 08:56:42 +02:00
*: any area on screen
2011-08-08 11:24:26 +02:00
chat: chat area (any buffer)
chat(xxx): char area for buffer with name "xxx" (full name including plugin)
2011-07-30 08:56:42 +02:00
bar(*): any bar
bar(xxx): bar "xxx"
item(*): any bar item
2011-07-26 18:50:29 +02:00
item(xxx): bar item "xxx"
2011-08-01 18:33:13 +02:00
The key can start or end with '*' to match many mouse events.
2011-08-26 18:32:33 +02:00
A special value for command with format "hsignal:name" can be used for context mouse, this will send the hsignal "name" with the focus hashtable as argument.
2011-08-20 10:52:27 +02:00
Another special value "-" can be used to disable key (it will be ignored when looking for keys).
2011-07-26 18:50:29 +02:00
2011-02-04 22:12:19 +01:00
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
2011-07-05 15:36:42 +02:00
key "tab" to stop search in buffer:
/key bindctxt search ctrl-I /input search_stop
2011-07-26 18:50:29 +02:00
middle button of mouse on a nick to retrieve info on nick:
/key bindctxt mouse @item(buffer_nicklist):button3 /msg nickserv info ${nick}
2011-02-04 22:12:19 +01:00
........................................
2011-08-03 20:10:11 +02:00
[[command_weechat_layout]]
2011-02-04 22:12:19 +01:00
[command]*`layout`* save/apply/reset layout for buffers and windows::
........................................
/layout save [buffers|windows]
apply [buffers|windows]
reset [buffers|windows]
save: save current layout
apply: apply saved layout
reset: remove saved layout
buffers: save/apply only buffers (order of buffers)
windows: save/apply only windows (buffer displayed by each window)
Without argument, this command displays saved layout.
........................................
2011-08-03 20:10:11 +02:00
[[command_weechat_mouse]]
2011-07-26 18:50:29 +02:00
[command]*`mouse`* mouse control::
........................................
/mouse enable|disable|toggle [<delay>]
enable: enable mouse
disable: disable mouse
toggle: toggle mouse
delay: delay (in seconds) after which initial mouse state is restored (useful to temporarily disable mouse)
To enable/disable mouse at startup, use:
/set weechat.look.mouse on/off
Examples:
enable mouse:
/mouse enable
toggle mouse for 5 seconds:
/mouse toggle 5
........................................
2011-08-03 20:10:11 +02:00
[[command_weechat_mute]]
2011-02-04 22:12:19 +01:00
[command]*`mute`* execute a command silently::
........................................
/mute [-current | -buffer <name> | -all] command
2011-05-13 16:46:44 +02:00
-current: no output on current buffer
2011-02-04 22:12:19 +01:00
-buffer: no output on specified buffer
name: full buffer name (examples: "irc.server.freenode", "irc.freenode.#weechat")
-all: no output on ALL buffers
command: command to execute silently (a '/' is automatically added if not found at beginning of command)
If no target is specified (-current, -buffer or -all), then default is to mute WeeChat core buffer only.
Examples:
config save:
/mute save
message to current IRC channel:
/mute -current msg * hi!
message to #weechat channel:
/mute -buffer irc.freenode.#weechat msg #weechat hi!
........................................
2011-08-03 20:10:11 +02:00
[[command_weechat_plugin]]
2011-02-04 22:12:19 +01:00
[command]*`plugin`* list/load/unload plugins::
........................................
/plugin list|listfull [<name>]
load <filename>
autoload
reload|unload [<name>]
list: list loaded plugins
listfull: list loaded plugins (verbose)
load: load a plugin
autoload: autoload plugins in system or user directory
reload: reload a plugin (if no name given, unload all plugins, then autoload plugins)
unload: unload a plugin (if no name given, unload all plugins)
2011-05-15 11:28:57 +02:00
filename: plugin (file) to load
name: a plugin name
2011-02-04 22:12:19 +01:00
Without argument, this command lists loaded plugins.
........................................
2011-08-03 20:10:11 +02:00
[[command_weechat_proxy]]
2011-02-04 22:12:19 +01:00
[command]*`proxy`* manage proxies::
........................................
/proxy list
add <name> <type> <address> <port> [<username> [<password>]]
del <name>|-all
set <name> <option> <value>
list: list all proxies
add: add a new proxy
name: name of proxy (must be unique)
type: http, socks4 or socks5
address: IP or hostname
port: port
username: username (optional)
password: password (optional)
del: delete a proxy (or all proxies with -all)
set: set a value for a proxy property
option: option to change (for options list, look at /set weechat.proxy.<proxyname>.*)
value: new value for option
2009-05-28 16:07:40 +02:00
2011-02-04 22:12:19 +01:00
Examples:
create a http proxy, running on local host, port 8888:
/proxy add local http 127.0.0.1 8888
create a http proxy using IPv6 protocol:
/proxy add local http 127.0.0.1 8888
/proxy set local ipv6 on
create a socks5 proxy with username/password:
/proxy add myproxy socks5 sample.host.org 3128 myuser mypass
delete a proxy:
/proxy del myproxy
2009-05-28 16:07:40 +02:00
........................................
2011-08-03 20:10:11 +02:00
[[command_weechat_quit]]
2011-02-04 22:12:19 +01:00
[command]*`quit`* quit WeeChat::
2009-05-28 16:07:40 +02:00
........................................
2011-02-04 22:12:19 +01:00
/quit [-yes] [<arguments>]
2009-05-28 16:07:40 +02:00
2011-02-04 22:12:19 +01:00
-yes: required if option weechat.look.confirm_quit is enabled
arguments: text sent with signal "quit"
(for example irc plugin uses this text to send quit message to server)
2010-02-09 13:21:05 +01:00
........................................
2011-08-03 20:10:11 +02:00
[[command_weechat_reload]]
2011-02-04 22:12:19 +01:00
[command]*`reload`* reload configuration files from disk::
2010-02-09 13:21:05 +01:00
........................................
2011-02-04 22:12:19 +01:00
/reload [<file> [<file>...]]
2010-02-09 13:21:05 +01:00
2011-02-04 22:12:19 +01:00
file: configuration file to reload (without extension ".conf")
2009-05-28 16:07:40 +02:00
2011-02-04 22:12:19 +01:00
Without argument, all files (WeeChat and plugins) are reloaded.
2009-05-28 16:07:40 +02:00
........................................
2011-08-09 09:10:26 +02:00
[[command_weechat_repeat]]
[command]*`repeat`* execute a command several times::
........................................
/repeat [-interval <delay>] <count> <command>
delay: delay between execution of commands (in milliseconds)
count: number of times to execute command
command: command to execute (a '/' is automatically added if not found at beginning of command)
All commands are executed on buffer where this command was issued.
Example:
scroll 2 pages up:
/repeat 2 /window page_up
........................................
2011-08-03 20:10:11 +02:00
[[command_weechat_save]]
2011-02-04 22:12:19 +01:00
[command]*`save`* save configuration files to disk::
2009-05-28 16:07:40 +02:00
........................................
2011-02-04 22:12:19 +01:00
/save [<file> [<file>...]]
2009-05-28 16:07:40 +02:00
2011-02-04 22:12:19 +01:00
file: configuration file to save (without extension ".conf")
2009-05-28 16:07:40 +02:00
2011-02-04 22:12:19 +01:00
Without argument, all files (WeeChat and plugins) are saved.
2009-05-28 16:07:40 +02:00
........................................
2011-08-03 20:10:11 +02:00
[[command_weechat_set]]
2011-02-04 22:12:19 +01:00
[command]*`set`* set config options::
2009-05-28 16:07:40 +02:00
........................................
2011-02-04 22:12:19 +01:00
/set [<option> [<value>]]
2009-05-28 16:07:40 +02:00
2011-03-09 10:13:41 +01:00
option: name of an option (can start or end with '*' to list many options)
2011-02-04 22:12:19 +01:00
value: new value for option
2009-05-28 16:07:40 +02:00
2011-02-04 22:12:19 +01:00
New value can be, according to variable type:
boolean: on, off or toggle
integer: number, ++number or --number
string : any string ("" for empty string)
color : color name, ++number or --number
2009-05-28 16:07:40 +02:00
2011-02-04 22:12:19 +01:00
For all types, you can use null to remove option value (undefined value). This works only for some special plugin variables.
2009-05-28 16:07:40 +02:00
2011-02-04 22:12:19 +01:00
Examples:
display options about highlight:
/set *highlight*
add a word to highlight:
/set weechat.look.highlight "word"
2009-05-28 16:07:40 +02:00
........................................
2011-08-03 20:10:11 +02:00
[[command_weechat_unset]]
2011-02-04 22:12:19 +01:00
[command]*`unset`* unset/reset config options::
2009-05-28 16:07:40 +02:00
........................................
2011-02-04 22:12:19 +01:00
/unset <option>
2009-05-28 16:07:40 +02:00
2011-02-04 22:12:19 +01:00
option: name of an option (may begin or end with "*" to mass-reset options, use carefully!)
2009-05-28 16:07:40 +02:00
2011-02-04 22:12:19 +01:00
According to option, it's reset (for standard options) or removed (for optional settings, like server values).
2009-05-28 16:07:40 +02:00
2011-02-04 22:12:19 +01:00
Examples:
reset one option:
/unset weechat.look.item_time_format
reset all color options:
/unset weechat.color.*
2009-05-28 16:07:40 +02:00
........................................
2011-08-03 20:10:11 +02:00
[[command_weechat_upgrade]]
2011-02-04 22:12:19 +01:00
[command]*`upgrade`* upgrade WeeChat without disconnecting from servers::
2009-05-28 16:07:40 +02:00
........................................
2011-02-04 22:12:19 +01:00
/upgrade [<path_to_binary>]
2009-05-28 16:07:40 +02:00
2011-02-04 22:12:19 +01:00
path_to_binary: path to WeeChat binary (default is current binary)
2009-05-28 16:07:40 +02:00
2011-02-04 22:12:19 +01:00
This command run again a WeeChat binary, so it should have been compiled or installed with a package manager before running this command.
2009-05-28 16:07:40 +02:00
2011-08-07 11:22:16 +02:00
Note: SSL connections are lost during upgrade, because reload of SSL sessions is currently not possible with GnuTLS. There is automatic reconnection after upgrade.
2011-08-06 23:06:18 +02:00
2011-02-04 22:12:19 +01:00
Upgrade process has 4 steps:
1. save session into files for core and plugins (buffers, history, ..)
2. unload all plugins (configuration files (*.conf) are written on disk)
3. save WeeChat configuration (weechat.conf)
4. execute new WeeChat binary and reload session.
2009-05-28 16:07:40 +02:00
........................................
2011-08-03 20:10:11 +02:00
[[command_weechat_uptime]]
2011-02-04 22:12:19 +01:00
[command]*`uptime`* show WeeChat uptime::
2009-05-28 16:07:40 +02:00
........................................
2011-02-04 22:12:19 +01:00
/uptime [-o | -ol]
2009-05-28 16:07:40 +02:00
2011-02-04 22:12:19 +01:00
-o: send uptime to current buffer as input (english string)
-ol: send uptime to current buffer as input (translated string)
2009-05-28 16:07:40 +02:00
........................................
2011-08-03 20:10:11 +02:00
[[command_weechat_version]]
2011-02-04 22:12:19 +01:00
[command]*`version`* show WeeChat version and compilation date::
2009-05-28 16:07:40 +02:00
........................................
2011-02-04 22:12:19 +01:00
/version [-o | -ol]
2009-05-28 16:07:40 +02:00
2011-02-04 22:12:19 +01:00
-o: send version to current buffer as input (english string)
-ol: send version to current buffer as input (translated string)
2009-05-28 16:07:40 +02:00
........................................
2011-08-03 20:10:11 +02:00
[[command_weechat_wait]]
2011-02-04 22:12:19 +01:00
[command]*`wait`* schedule a command execution in future::
2009-05-28 16:07:40 +02:00
........................................
2011-02-04 22:12:19 +01:00
/wait <number>[<unit>] <command>
2009-05-28 16:07:40 +02:00
2011-02-04 22:12:19 +01:00
number: amount of time to wait (integer number)
unit: optional, values are:
ms: milliseconds
s: seconds (default)
m: minutes
h: hours
command: command to execute (or text to send to buffer if command does not start with '/')
2009-05-28 16:07:40 +02:00
2011-02-04 22:12:19 +01:00
Note: command is executed on buffer where /wait was executed (if buffer is not found (for example if it has been closed before execution of command), then command is executed on WeeChat core buffer).
2009-05-28 16:07:40 +02:00
2011-02-04 22:12:19 +01:00
Examples:
join channel in 10 seconds:
/wait 10 /join #test
set away in 15 minutes:
/wait 15m /away -all I'm away
say 'hello' in 2 minutes:
/wait 2m hello
2009-05-28 16:07:40 +02:00
........................................
2011-08-03 20:10:11 +02:00
[[command_weechat_window]]
2011-02-04 22:12:19 +01:00
[command]*`window`* manage windows::
2009-05-28 16:07:40 +02:00
........................................
2011-02-04 22:12:19 +01:00
/window list
2011-07-29 19:46:02 +02:00
-1|+1|b#|up|down|left|right [-window <number>]
<number>
splith|splitv [-window <number>] [<pct>]
resize [-window <number>] [+/-]<pct>
2011-04-23 13:21:10 +02:00
balance
2011-07-29 19:46:02 +02:00
merge [-window <number>] [all]
page_up|page_down [-window <number>]
2011-02-04 22:12:19 +01:00
refresh
2011-07-29 19:46:02 +02:00
scroll [-window <number>] [+/-]<value>[s|m|h|d|M|y]
scroll_horiz [-window <number>] [+/-]<value>[%]
scroll_up|scroll_down|scroll_top|scroll_bottom|scroll_previous_highlight|scroll_next_highlight [-window <number>]
swap [-window <number>] [up|down|left|right]
zoom[-window <number>]
2009-05-28 16:07:40 +02:00
2011-02-04 22:12:19 +01:00
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 #
up: switch to window above current one
down: switch to window below current one
left: switch to window on the left
right: switch to window on the right
2011-07-29 19:46:02 +02:00
number: window number (see /window list)
2011-02-04 22:12:19 +01:00
splith: split current window horizontally
splitv: split current window vertically
resize: resize window size, new size is <pct> percentage of parent window
2011-05-07 17:30:22 +02:00
balance: balance the sizes of all windows
2011-02-04 22:12:19 +01:00
merge: merge window with another (all = keep only one window)
page_up: scroll one page up
page_down: scroll one page down
refresh: refresh screen
2011-05-16 15:33:44 +02:00
scroll: scroll a number of lines (+/-N) or with time: s=seconds, m=minutes, h=hours, d=days, M=months, y=years
scroll_horiz: scroll horizontally a number of columns (+/-N) or percentage of window size (this scrolling is possible only on buffers with free content)
2011-02-04 22:12:19 +01:00
scroll_up: scroll a few lines up
scroll_down: scroll a few lines down
scroll_top: scroll to top of buffer
scroll_bottom: scroll to bottom of buffer
scroll_previous_highlight: scroll to previous highlight
scroll_next_highlight: scroll to next highlight
2011-04-22 21:56:54 +02:00
swap: swap buffers of two windows (with optional direction for target window)
2011-02-04 22:12:19 +01:00
zoom: zoom on window
2009-05-28 16:07:40 +02:00
2011-02-04 22:12:19 +01:00
For splith and splitv, pct is a percentage which represents size of new window, computed with current window as size reference. For example 25 means create a new window with size = current_size / 4
2009-05-28 16:07:40 +02:00
2011-02-04 22:12:19 +01:00
Examples:
jump to window displaying buffer #1:
/window b1
scroll 2 lines up:
/window scroll -2
scroll 2 days up:
/window scroll -2d
scroll to beginning of current day:
/window scroll -d
2011-07-29 19:46:02 +02:00
zoom on window #2:
/window zoom -window 2
2009-05-28 16:07:40 +02:00
........................................