我的screen配置文件

#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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章