Difference between revisions of "WeeChat"
m (I thought the CLI template looked cool :))
m (→Tips and Tricks)
|Line 65:||Line 65:|
Revision as of 05:17, 21 July 2011Template:Article summary start
WeeChat is going to have multiple interfaces at some point, run weechat-[interface] to start WeeChat.
As WeeChat currently only has a Ncurses interface the command to start WeeChat is: Template:Cli
Connecting to a server
You can connect to a IRC server by using /connect.
Or if there is already a Server setup you can use:
Creating a Server profile
If you plan on connecting to a server more than once it may be beneficial to create a Server.
/server add example irc.example.net/6667
Would create the server example which would connect to irc.example.net on port 6667
See the WeeChat documentation and /help server for more information.
If you're making a server with /server add -ssl to the end of the line, for example:
/server add FreenodeSSL chat.freenode.net/7000 -ssl
You can do the same thing if using /connect.
/connect chat.freenode.net/7000 -ssl
Tips and Tricks
WeeChat can be upgraded without disconnecting from the IRC servers (non-SSL connections only):
This will load the new WeeChat binary and reload the current configuration.
Aliases can be created to simplify commonly executed commands. A nice example is Wraithan's smart filter alias:
First, we need to enable smart filters:
/set irc.look.smart_filter "on"
Next, we will create the sfilter alias:
/alias sfilter filter add irc_smart_$server_$channel irc.$server.$channel irc_smart_filter *
We can now type
in any buffer, and the smart filter will only be enabled for that buffer.
The following alias will remove a previously enabled smart filter in the current buffer:
Add the alias:
/alias rmsfilter filter del irc_smart_$server_$channel
and execute it by
Some helpful bindings:
To use ctrl-left/right arrow keys to jump to next/previous words on the input line:
/key bind meta2-1;5D /input move_previous_word /key bind meta2-1;5C /input move_next_word
To access WeeChat's built-in help, simply type
and the help will be displayed in the main buffer (usually buffer 1).