Skip to content

Instantly share code, notes, and snippets.

@kokumura
Last active November 21, 2016 12:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kokumura/2e59edd832b42e21dfdbf0aca2ef5e9a to your computer and use it in GitHub Desktop.
Save kokumura/2e59edd832b42e21dfdbf0aca2ef5e9a to your computer and use it in GitHub Desktop.
escape ^Tx
bind n eval 'next'
bind p eval 'prev'
defscrollback 10000
# enable 256 color
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
# don't resize terminal width when re-attached.
termcapinfo xterm 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l'
#
# # changes the windowlist format to suit caption/hardstatus
windowlist title '%{u .g}Num Flags Title%=[0-9] select the number [movement] j,C-n:Down k,C-p:Up (C-)f:PageDown (C-)b:PageUp'
windowlist string '%{.g}%3n %{.y}%f%09=%{dg} %t %='
caption always '%?%F%{= gW}%:%{= Kk}%?%2n%f%07=%t%='
hardstatus alwayslastline '%m/%d %02c %{= .g}%H%{-} %L=%-w%45L>%{=u g.}%n %t%{-}%+w %-17<%=%{= .y}(%l)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment