Skip to content

Instantly share code, notes, and snippets.

@jprjr jprjr/ forked from zer4tul/
Last active Mar 15, 2019

What would you like to do?

A Simple, Base16 Friendly, Weechat Setup


  • Some must-have scripts
  /script install

Color Settings

Note: If you are NOT using Base16, blow right through it. Aliases based on names from

/color alias 16 orange
/color alias 17 brown
/color alias 18 linehighlightdark
/color alias 19 selectiondark
/color alias 20 commentslight
/color alias 21 linehighlightlight

  • Make the title bar and the status bar using dark "line highlight" colors
  • Change to color 21 (linehighlightlight) for a light theme
/set linehighlightdark
/set linehighlightdark

Alternative: I like to setup to show a list of buffers on the bottom and get rid of the "status" bar completely.

/bar hide status
/bar show buffers
/bar set buffers position bottom
/set buffers.color.current_bg linehighlightdark

Also fun: get rid of the title bar and just add the buffer name to the input bar

/bar hide title
/bar set input items buffer_name+[input_prompt]+(away),[input_search],[input_paste],input_text

Setup highlight monitor

/bar add highmon root top auto
/set 4

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.

This comment has been minimized.

Copy link

commented Jul 6, 2015

I tried to set the base 16 color aliases, but got:
weechat =!= | Invalid color number "045" (must be between 0 and 8)



This comment has been minimized.

Copy link

commented Jul 9, 2015

rockymontana make sure you're using a 256 color console. You can check this by running weechat -c. It should display something like.

Terminal infos: $TERM=xterm-256color COLORS: 256, COLOR_PAIRS: 32767, can_change_color: yes

If it only does 8 colors you may need to change your TERM to xterm-256color.


This comment has been minimized.

Copy link

commented Mar 13, 2019

or if using screen

/set env TERM screen-256color

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.