#启动时不显示欢迎屏幕
startup_message off
term linux
#use ^l as the Global Key
#escape ^b^b
##屏幕缓冲区设置为4096行
defscrollback 4096
##在vi或less之类退出时完全恢复到原屏幕内容
altscreen off
#自动detach
autodetach on
#编码
defutf8 on
defencoding utf8
encoding UTF-8 UTF-8
#设置屏幕下方状态栏
hardstatus on
hardstatus alwayslastline
shelltitle "$|bash"
##状态栏的显示信息定制
hardstatus string '%{= kG}[ %{G}%c:%s %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][ %{C} %{g}][%{kB} %d/%m %{w}%c %{g}]'
##shutdown the noise(关闭报警响铃)
vbell off
## 绑定 Ctrl+a-w 为查看所有窗口列表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 cm
阅读(2971) | 评论(0) | 转发(0) |