本人用的screen的配置
screen是一个很好的bash保存的工具,可以保存你现有的工作,网上有很多关于这个的配置,我找了一个精简了一下,个人感觉还是很不错的:
#se the startup message
startup_message off
term linux
##use ` as the Global Key
## escape ``
##set a biger buffer
defscrollback 4096
#ÉèÖÃ״̬À¸
hardstatus alwayslastline
shelltitle "$|bash"
hardstatus string '%{gk}%-w%{= W}%50>%n %t%{-}%+w%<'
##shutdown the noise
vbell off
defescape ^Jj
escape ^Jj
## w to show the window list
bind w windowlist -b
bind ^w windowlist -b
##initial apps to run
#screen
#screen
#screen
#screen
#select 0
bindkey -k k1 screen
bindkey -k k2 title
bindkey -k k3 monitor
#bindkey -k k4 silence
bindkey -k k5 colon
#bindkey -k k6 split
#bindkey -k k; focus
bindkey -k k7 focus
#bindkey -k k8 only
bindkey -k k9 detach
bindkey -k F1 prev
bindkey -k F2 next
attrcolor u "-u B"
sessionname youwang
autodetach on

本文基于署名 2.5 中国大陆许可协议发布,欢迎转载,演绎或用于商业目的,但是必须保留本文的署名小橋流水(包含链接)。如您有任何疑问或者授权方面的协商,请给我发邮件。