Weechat: Difference between revisions

From James's Wiki
No edit summary
No edit summary
Line 2: Line 2:


==Install the latest version==
==Install the latest version==
*Run command to add the WeeChat repository:<br>
 
  sudo sh -c 'echo "deb https://weechat.org/ubuntu $(lsb_release -cs) main" >> /etc/apt/sources.list.d/weechat.list'<br>
  sudo apt install -y libgcrypt11-dev libncurses5-dev libncursesw5-dev libgnutls28-dev
*Add the repository key via command:<br>
 
  sudo apt-key adv --keyserver keys.gnupg.net --recv-keys 11E9DE8848F2B65222AA75B8D1820DB22A11534E<br>
mkdir build
*Install it:<br>
 
  sudo apt update;sudo apt install weechat<br>
cd build
 
cmake ..
 
  make
 
  sudo make install
 
 
 
==Initial setup==
==Initial setup==



Revision as of 14:19, 8 April 2018

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

sudo apt install -y libgcrypt11-dev libncurses5-dev libncursesw5-dev libgnutls28-dev
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