Skip to content

Instantly share code, notes, and snippets.

@scturtle
Created July 19, 2011 03:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scturtle/1091244 to your computer and use it in GitHub Desktop.
Save scturtle/1091244 to your computer and use it in GitHub Desktop.
screen configuration
altscreen on
#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 '%{= kG}[ %{G}%c:%s %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][ %{C}(F1)New (F2)Rename (F3)Monitor (F4)Slience %{g}][%{kB} %d/%m %{w}%c %{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
screen
select 0
#??DD?¨¬?Y?¨¹¦Ì?¡ã¨®?¡§
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 scturtle
autodetach on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment