Skip to content

Instantly share code, notes, and snippets.

@francismhw
Created December 15, 2014 21:37
Show Gist options
  • Select an option

  • Save francismhw/a2d97db9bc508b3a19e8 to your computer and use it in GitHub Desktop.

Select an option

Save francismhw/a2d97db9bc508b3a19e8 to your computer and use it in GitHub Desktop.
screen
startup_message off
defscrollback 30000
escape ^Bb
#shell /bin/zsh
term screen-256color
#might have to put $HOME here
bind r eval "source ~/.screenrc" "'.screenrc reloaded!'"
#make screen think terminal doesn't have alt screen
#termcapinfo xterm* ti@:te@
#hardstatus off
#hardstatus alwayslastline
#hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%? (%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %m-%d %{W} %c %{g}]'
#alt status line
hardstatus alwayslastline '%{= G}[ %{G}%H %{g}][%= %{= w}%?%-Lw%?%{= R}%n*%f %t%?%{= R}(%u)%?%{= w}%+Lw%?%= %{= g}][ %{y}Load: %l %{g}][%{B}%Y-%m-%d %{W}%c: %s %{g}]'
#experimental stuff
#compacthist on
@francismhw
Copy link
Author

:imap jj <Esc>

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