Skip to content

Instantly share code, notes, and snippets.

@xbulat
Created May 27, 2019 19:41
Show Gist options
  • Save xbulat/457e2482713f674f56fb21140c927cc3 to your computer and use it in GitHub Desktop.
Save xbulat/457e2482713f674f56fb21140c927cc3 to your computer and use it in GitHub Desktop.
screen.conf
defencoding en_US.UTF-8
setenv SCREEN_LANG
setenv LANG $SCREEN_LANG
startup_message off
autodetach on
defscrollback 10000
altscreen on
#bindkey -m "^[[5;2~" stuff ^b
# Use xterm screen buffer
termcapinfo xterm*|xterms|xs|rxvt ti@:te@
# Status line
backtick 103 10 10
caption string "%{= kY}%n[%t]"
hardstatus alwayslastline
hardstatus string '%{= kG}[ %{G}%H%{g}|%103`][%102`%101`][%= %{=kw}%?%-Lw%?%{r}[%{W}%n*%f%t%?(%u)%?%{r}]%{w}%?%+Lw%?%?%= %{g}][%{B}%Y-%m-%d %{W}%c%{g}]'
# Start from window number 1
bindkey "^[c" screen 1
bindkey "^[v" split -v
bindkey "^[o" remove
chdir /home/dir
# Switch to window using Alt-<number>
bindkey "^[1" select 1
bindkey "^[2" select 2
bindkey "^[3" select 3
bindkey "^[4" select 4
bindkey "^[5" select 5
bindkey "^[6" select 6
bindkey "^[7" select 7
bindkey "^[8" select 8
bindkey "^[9" select 9
bindkey "^[0" select 0
# Shift-left/right
#bindkey -k "%i" next
#bindkey -k "#4" prev
bindkey ^[[1;5D prev
bindkey ^[[1;5C next
bindkey ^[[1;5A focus
bindkey ^[[1;5B focus
screen -t moira 0
screen -t harad 2
#screen -t thror 3
#screen -t shelob 4
#screen -t dior 5
#screen -t dior 6
#screen -t ______7 7
#screen -t ______8 8
#screen -t ______9 9
unsetenv DEBFULLNAME
unsetenv DEBEMAIL
setenv DEBFULLNAME "AE"
setenv DEBEMAIL "[email protected]"
setenv TERM "xterm"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment