Skip to content

Instantly share code, notes, and snippets.

@petrhosek
Created January 16, 2015 16:39
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save petrhosek/218ce7d6c746c2a30387 to your computer and use it in GitHub Desktop.
Save petrhosek/218ce7d6c746c2a30387 to your computer and use it in GitHub Desktop.
Irssi Tmux integration
new-window -n irssi irssi
split-window -h -p15 -t0 ‘/bin/cat ~/.irssi/nicklistfifo’
send-keys -t1 "tmux send-keys -t0 \"irssi\" C-m; \
tmux send-keys -t0 \"/set nicklist_height \$(stty size | cut -f1 -d' ' -)\" C-m; \
tmux send-keys -t0 \"/set nicklist_width \$(stty size | cut -f2 -d' ' -)\" C-m; \
tmux send-keys -t0 \"/nicklist fifo\" C-m; \
cat ~/.irssi/nicklistfifo" C-m
select-pane -t
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment