Created
January 24, 2012 20:23
-
-
Save gildotdev/1672342 to your computer and use it in GitHub Desktop.
My rc startup file for GNU screen
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#displays status line at bottom of screen window | |
hardstatus alwayslastline | |
#configuration of text to show in status line http://aperiodic.net/screen/man:string_escapes | |
hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{=kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B}%Y-%m-%d %{W}%c %{g}]' | |
# binding the F1 - F8 keys to the first 8 screens, F11 = previous | F12 = next | |
bindkey -k k1 select 0 | |
bindkey -k k2 select 1 | |
bindkey -k k3 select 2 | |
bindkey -k k4 select 3 | |
bindkey -k k5 select 4 | |
bindkey -k k6 select 5 | |
bindkey -k k7 select 6 | |
bindkey -k k8 select 7 | |
bindkey -k F2 next | |
bindkey -k F1 prev | |
#this detaches the session when you close your connection instead of killing it so you can resume it later | |
autodetach on | |
#turns off startup message | |
startup_message off | |
#sets number of scrollback line buffer | |
defscrollback 30000 | |
#Default screens | |
# | |
# name screen # optional | |
# command | |
# to run | |
#---------|-----|--------|-------- | |
screen -t shell0 0 | |
screen -t shell1 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment