Weechat: Difference between revisions

From James's Wiki
No edit summary
No edit summary
Line 14: Line 14:
  /set irc.server.undernet.autojoin "#chan1,#chan2"
  /set irc.server.undernet.autojoin "#chan1,#chan2"


   
  /set xfer.file.auto_accept_files on
 
/set xfer.file.download_path "/media/IRC"
 


==key bindings==
==key bindings==

Revision as of 19:42, 20 January 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

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