Weechat

From James's Wiki
Revision as of 13:56, 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

  • Run command to add the WeeChat repository:
sudo sh -c 'echo "deb https://weechat.org/ubuntu $(lsb_release -cs) main" >> /etc/apt/sources.list.d/weechat.list'
  • Add the repository key via command:
sudo apt-key adv --keyserver keys.gnupg.net --recv-keys 11E9DE8848F2B65222AA75B8D1820DB22A11534E
  • Install it:
sudo apt-get update;sudo apt-get install weechat

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