Skip to content

Instantly share code, notes, and snippets.

@alvin2ye
Created July 5, 2010 02:30
Show Gist options
  • Save alvin2ye/463943 to your computer and use it in GitHub Desktop.
Save alvin2ye/463943 to your computer and use it in GitHub Desktop.
.screenrc
# 启动时不显示欢迎屏幕
startup_message off
# 定义screen的功能键为Ctrl-Z。向终端输入Ctrl-Z时应按 Ctrl-Z z。
escape ^Zz
# 屏幕缓冲区 1024 行。
defscrollback 1024
# 关闭错误提示
vbell off
# 按 Ctrl-Z w 或 Ctrl-Z Ctrl-W 显示窗口列表
bind w windowlist -b
bind ^w windowlist -b
# 在最下一行显示窗口列表和时钟
hardstatus on
hardstatus alwayslastline
hardstatus string "%{.bW}%-w%{.rW}%n %t%{-}%+w %=%{..G} %H %{..Y} %m/%d %C%a"
@alvin2ye
Copy link
Author

alvin2ye commented Aug 1, 2010

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment