Weechat

From James's Wiki
Revision as of 14:24, 8 April 2018 by Ractive (talk | contribs)

might want to play with the mouse support...see what it can do...but it's not really usefull for the script I will eventually write

Install the latest version

For example:

wget https://weechat.org/files/src/weechat-2.1.tar.gz
  • Decompress
tar zxf weechat-2.1.tar.gz
sudo apt install -y libgcrypt11-dev libncurses5-dev libncursesw5-dev libgnutls28-dev
cd weechat-2.1/
mkdir build
cd build
cmake ..
make
sudo make install


Initial setup

/server undernet us.undernet.org
/set irc.server.undernet.nicks "1,2,3,4,5"
/set irc.server.undernet.autoconnect on
/set irc.server.undernet.autojoin "#chan1,#chan2"
/set xfer.file.auto_accept_files on
/set xfer.file.download_path "/media/IRC"


key bindings

The default keys Alt-<Left Arrow> and Alt-<Right Arrow> Interfered with the default keybindings of byobu. Changing keybindings was surprisingly easy. At the WeeChat command line type /key unbind (and then press Alt-K, and after that press Alt-<Left-Arrow> and weechat fills the rest out for you) and press enter.

/key unbind <Alt-K, Alt-<Left-Arrow>>

to rebind that key to CTRL-<Left-Arrow> it looks like this:

/key bind <Alt-K, CTRL-<Left-Arrow>> (replace the command input -1 with buffer -1)


References

https://weechat.org/files/doc/devel/weechat_quickstart.en.html