Skip to content

Instantly share code, notes, and snippets.

@LDMFD
Created October 31, 2018 00:03
Show Gist options
  • Save LDMFD/9350718cde71b82c8143751367710468 to your computer and use it in GitHub Desktop.
Save LDMFD/9350718cde71b82c8143751367710468 to your computer and use it in GitHub Desktop.
awesome .screenrc
# the following two lines give a two-line status, with the current window highlighted
hardstatus alwayslastline
# [hostname - cpu-load] windows... [24h clock]
hardstatus string '%{= kG}[%{m}%H - %{= r}%l%? %1`%?%{g}]%= %{= kg}%-w%{gk} %n*%t%?(%u)%? %{-}%+w %=%{g}[%{m}%c%{g}]'
# huge scrollback buffer
defscrollback 50000
# put screen scrollback into terminal
termcapinfo xterm* ti@:te@
# no welcome message
startup_message off
# 256 colors
attrcolor b ".I"
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
defbce on
# Change command key to ctrl+space
escape ^@a
# switch windows with ctrl+left/right (or toggle last with ctrl+space space)
bindkey "^[[1;5D" prev
bindkey "^[[1;5C" next
# layouts
layout autosave on
@LDMFD
Copy link
Author

LDMFD commented Oct 31, 2018

@LDMFD
Copy link
Author

LDMFD commented Oct 31, 2018

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