Monday, September 10, 2012

my screenrc


之前整理過精美的 screenrc ,筆記一下

https://gist.github.com/3669186

altscreen on # erase screen when quit apps
defutf8 on
defc1 off # treat input chars 128 ~ 159 as control functions
defflow on
activity "activity in %n (%t)"
bell_msg "bell in %n (%t)"
vbell on
vbell_msg "WTF!!!"
startup_message off
nethack on
shell $SHELL

# using Ctrl+Left & Ctrl+Right 
bindkey ^[[1;5D prev
bindkey ^[[1;5C next
bindkey \033[D prev
bindkey \033[C next

# encoding
defencoding utf8
bind b encoding big5 utf8
bind u encoding utf8 utf8
defbce on # erase background with current bg color
cjkwidth off
caption always "%{=u .M}%-w%<%{=ub C}%n %t%{=u .M}%+w%-09="                    
hardstatus alwayslastline "%{ kk}%{g}%e%<%=%{Y} %D%c:%s %a%{R} %M %d/%m/%Y %=[%{G}@%H %{M}Load: %l %{w}%{R}]"

screen -t htop 0
screen -t root 1
screen -t bash 2
screen -t bash 3
screen -t bash 4
screen -t bash 5
screen -t TODO 6
screen -t bash 7
screen -t circbot 8
screen -t irssi 9
screen -t turses 10

No comments:

Post a Comment