Weechat: Difference between revisions
From James's Wiki
(Created page with "==Install== sudo apt-get install weechat ==References== https://weechat.org/files/doc/devel/weechat_quickstart.en.html") |
No edit summary |
||
(17 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
==Install== | 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 | ||
sudo apt- | |||
==Install the latest version== | |||
*Download the most recent stable version from https://weechat.org/download/stable/ | |||
For example: | |||
wget https://weechat.org/files/src/weechat-2.1.tar.gz | |||
*Decompress: | |||
tar zxf weechat-2.1.tar.gz | |||
*Install dependences: | |||
sudo apt install -y libgcrypt11-dev libncurses5-dev libncursesw5-dev libgnutls28-dev libaspell-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" | |||
set setting with the ui: | |||
/set 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) | |||
==Window Management== | |||
/window splitv | |||
/window splith | |||
/window merge | |||
==Aspell== | |||
https://blog.qoba.lt/using_aspell_in_weechat.html | |||
==References== | ==References== | ||
https://weechat.org/files/doc/devel/weechat_quickstart.en.html | https://weechat.org/files/doc/devel/weechat_quickstart.en.html | ||
https://gist.github.com/pascalpoitras/8406501 |
Latest revision as of 22:01, 6 May 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
- Download the most recent stable version from https://weechat.org/download/stable/
For example:
wget https://weechat.org/files/src/weechat-2.1.tar.gz
- Decompress:
tar zxf weechat-2.1.tar.gz
- Install dependences:
sudo apt install -y libgcrypt11-dev libncurses5-dev libncursesw5-dev libgnutls28-dev libaspell-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"
set setting with the ui:
/set 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)
Window Management
/window splitv
/window splith
/window merge
Aspell
https://blog.qoba.lt/using_aspell_in_weechat.html
References
https://weechat.org/files/doc/devel/weechat_quickstart.en.html https://gist.github.com/pascalpoitras/8406501