Skip to content

Instantly share code, notes, and snippets.

@zer4tul

zer4tul/weechat.md

Last active Dec 22, 2020
Embed
What would you like to do?
A Simple, Base16 Friendly, Weechat Setup

A Simple, Base16 Friendly, Weechat Setup

Scripts

  • Some must-have scripts
  /script install buffers.pl buffer_autoclose.py iset.pl go.py colorize_nicks.py
  • Some extra scripts
  /script install iset.pl histsearch.py nickregain.pl shortenurl.py

Color Settings

Note: If you are NOT using Base16, blow right through it.

/color alias 196 lightred
/color alias 130 brown
/color alias 208 orange
/color alias 003 yellow
/color alias 113 green
/color alias 046 lightgreen
/color alias 045 aqua
/color alias 081 lightblue
/color alias 135 purple
/color alias 170 magenta
/color alias 201 lightmagenta
/color alias 039 cyan
/color alias 051 lightcyan
  • Make the title bar and the status bar using dark background colors.
/set weechat.bar.status.color_bg 10
/set weechat.bar.title.color_bg 10

IRC Settings

/set weechat.look.buffer_notify_default message
/set irc.look.smart_filter on
/filter add irc_smart * irc_smart_filter *
/filter add irc_join_names * irc_366,irc_332,irc_333,irc_329,irc_324 *
  • Replace the nickname for a message with a little arrow if the previous message in your buffer was from the same user.
/set weechat.look.prefix_same_nick "⤷"

Notes for OS X

  1. Make Option (⌥) key action like Meta, or some default key binding in weechat will not work properly.
  • Terminal

"Preferences (⌘,)" -> "Settings" -> "Use option as meta key"

  • iTerm2

"Preferences (⌘,)" -> "Profiles" -> Select the profile you are using (such as "Default) -> Keys -> on "Left option (⌥) key acts as:" or "Right option (⌥) key acts as:" select "Meta" or "+Esc"

  1. Weechat offically suggest install it using Homebrew.
@maletor

This comment has been minimized.

Copy link

@maletor maletor commented Jul 8, 2016

This is dope.

@dannymichel

This comment has been minimized.

Copy link

@dannymichel dannymichel commented Sep 18, 2016

Invalid color number "196" (must be between 0 and 8)
xterm256 enabled in iTerm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment