Skip to content

Instantly share code, notes, and snippets.

@netravnen
Last active February 15, 2021 10:10
Show Gist options
  • Save netravnen/af35064d3347d23cd8a0b985c8449e40 to your computer and use it in GitHub Desktop.
Save netravnen/af35064d3347d23cd8a0b985c8449e40 to your computer and use it in GitHub Desktop.
basic screen runtime file
#~/.screenrc
terminfo * F1=^[OP
terminfo * "^[[23~"=^[OP
terminfo * F2=^[OQ
terminfo * "^[[24~"=^[OQ
bindkey -k F1 prev
bindkey "^[[23~" prev
bindkey -k F2 next
bindkey "^[[24~" next
bindkey "^[[21~" focus
# Get rid of screen 0
bind c screen 1
bind ^c screen 1
bind 0 select 10
# Create initial window
screen 1
screen 2
screen 3
screen 4
# color please?
term screen-256color
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment