Skip to content

Instantly share code, notes, and snippets.

@zer4tul
Last active August 21, 2021 21:12
Show Gist options
  • Save zer4tul/80bf7a8783b14cc10449 to your computer and use it in GitHub Desktop.
Save zer4tul/80bf7a8783b14cc10449 to your computer and use it in GitHub Desktop.
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.
@dannymichel
Copy link

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