Skip to content

Instantly share code, notes, and snippets.

@AllenBlank
Created December 1, 2016 21:06
Show Gist options
  • Save AllenBlank/8c88e00c2aa05885d42b7e93f68c18d7 to your computer and use it in GitHub Desktop.
Save AllenBlank/8c88e00c2aa05885d42b7e93f68c18d7 to your computer and use it in GitHub Desktop.
My screen config
# Make navigating between regions easier
bind s split
bind j focus down
bind k focus up
# Make resizing regions easier
bind = resize =
bind + resize +1
bind - resize -1
# turn off that horrifying visual bell
vbell off
# allow switching windows with the mouse
mousetrack on
# enable color terminal
term xterm-256color
# give us some extra scroll
defscrollback 1000
# give us a nice status bar
autodetach on
startup_message off
hardstatus alwayslastline
shelltitle 'term'
hardstatus alwayslastline "%{b kw} %{r}%1` %{w}| %{g}%c %{w}| %{y}%d.%m.%y %{w}| %{-b kw}%u %-w%{= rW}%50> %t %{-}%+w%<"
# startup settings: top window is ranger file manager
# bottom pane is three terminals to switch between
# the first of the three terminals is selected
screen -t ranger 0 ranger
split
focus down
# resize 8
screen -t term 1
screen -t term 2
screen -t term 3
select 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment