Originally tested on weechat 0.4.2, now using 1.9.1.

Setup

/set weechat.bar.input.size 0
/filter list
/filter add irc_smart * irc_smart_filter *
/set weechat.look.buffer_notify_default message
/set weechat.look.hotlist_sort number_asc      
/server add freenode chat.freenode.net
/set irc.server.freenode.autojoin "##friendlyjava,#openknot"
/server add gitter irc.gitter.im/6667 -ssl -password=YOUR_TOKEN_HERE
/set weechat.bar.buflist.size_max 22
/set weechat.color.chat_nick_self brown
/set weechat.color.status_name brown
/set buflist.look.display_conditions "${buffer.hidden}==0 && ((${type}!=server && ${buffer.full_name}!=core.weechat) || ${buffer.active}==1)"
/ignore add gitter
/save

Key bindings

F5 buffer left
F6 buffer right
F11 scroll nick list up
F12 scroll nick list down
Alt-= toggle filters on or off
Alt-l bare display (for long links)

http://www.weechat.org/files/doc/stable/weechat_quickstart.en.html#key_bindings

To scroll up in Mac OS X Terminal.app (rather than holding down Shift+PageUp): Esc followed by [5~ (scroll down is Esc then [6~) per https://emmanuelbernard.com/blog/2013/12/12/fixing-page-up-and-page-down-in-mac-os-x-terminal/

Common commands

/connect freenode
/join #sourcefu

To fix

Mode noise

I believe the fix I was looking for was /set weechat.look.buffer_notify_default message as discussed at http://indiewebcamp.com/irc/2013-06-01

See also http://www.weechat.org/files/doc/stable/weechat_user.en.html#notify_levels

task #12499, filter mode changes after joins: http://savannah.nongnu.org/task/?12499

"When you see a mode change it's not "MODE" command received but a numeric command (for example 324 for channel modes). So you may have to ignore many numeric commands to ignore all modes." -- http://forums.flashtux.org/viewtopic.php?p=106&sid=62c78f547fb166200ca839a0d08d96d4#p106

http://www.weechat.org/files/doc/weechat_faq.en.html#filter_irc_join_part_quit

See also http://dev.weechat.org/post/2008/10/25/Smart-IRC-join-part-quit-message-filter

http://dev.weechat.org/post/2008/03/22/Filters_tags

http://tools.ietf.org/html/rfc2812

Can't click long links

"Presumably, you're running weechat in a terminal... the links are hard-wrapped... (you won't be able to click the full url)... [urlgrab.py] has one obvious limitation: it doesn't work well if you’re running weechat on a remote host" -- http://blog.lnx.cx/2012/08/14/weechat/

See the Alt-l tip above for bare display. For more on bare display, see https://www.weechat.org/files/doc/stable/weechat_user.en.html#bare_display

Scripts

  • hotlist2extern.pl: waiting for hotlist to change and then execute a user specified command or writes the hotlist to screen title - http://www.weechat.org/scripts/source/hotlist2extern.pl.html/

    /set plugins.var.perl.hotlist2extern.use_title "off" /set plugins.var.perl.hotlist2extern.external_command_hotlist "echo \'WeeChat Act: %X\' > /var/www/html/tmp/activity.txt"


Home | About | Sitemap | Recent changes | © Philip Durbin | @philipdurbin | philipdurbin@gmail.com