#set coding
#defencoding GBK
#encoding UTF-8 GBK
#see the startup message
startup_message off
term linux
##use ` as the Global Key
### escape ``
###set a biger buffer
defscrollback 409600
##设置状态栏
hardstatus alwayslastline
shelltitle "$|bash"
hardstatus string '%{= kG}[ %{G}%c:%s %{g}][%= %{= kw}%?%-Lw%?%{Y}%n*%f%t %{K}%?%+Lw%?%= %{kG}][ %{C}(F8)Screen (F9)Title (F10)Detach (F11)Prev (F12)Next %{kg}][%{kG} %l %Y/%m/%d %{kG}]'
# a short version, can use C-a
#hardstatus string '%{= kg}[ %{G}%c:%s %{g}][%= %{= kw}%?%-Lw%?%{Y}%n*%f%t %{K}%?%+Lw%?%= %{g}][%{kG} %D %Y/%m/%d %{g}]'
#
###shutdown the noise
vbell off
#
### w to show the window list
bind w windowlist -b
bind ^w windowlist -b
###initial apps to run
screen
screen
screen
select 0
#
##进行快捷键的绑定
bindkey -k k8 screen
bindkey -k k9 title
bindkey -k k; detach
bindkey -k k7 prev
bindkey -k F2 next
bindkey -k k4 quit
attrcolor u "-u B"
autodetach on
我的screen配置文件
最新推荐文章于 2022-03-12 11:03:20 发布