Skip to content

Instantly share code, notes, and snippets.

@gtanner
Created July 10, 2012 14:22
Show Gist options
  • Save gtanner/3083584 to your computer and use it in GitHub Desktop.
Save gtanner/3083584 to your computer and use it in GitHub Desktop.
My remote XP screen settings
startup_message off
vbell off
defscrollback 512
shell -$SHELL
shelltitle sh
autodetach on
# enable SHIFT-PGUP / SHIFT-PGDOWN scroll
termcapinfo rxvt ti@:te@
# change window with ALT-Q ALT-W
bindkey "^[q" prev
bindkey "^[w" next
# F1-F4 switch
# bindkey -k k1 select 1
# bindkey -k k2 select 2
# bindkey -k k3 select 3
# bindkey -k k4 select 4
# unbind defaults
bind ^m
bind ^i
bind ^f
bind ^s
bind ^w
# keyboard shortcuts
bind ^m screen -t mpd ncmpc # C-a-m
bind ^i screen -t icq centericq # C-a-i
bind ^f screen -t fish fish # C-a-f
bind ^s screen -t bge0 slurm -i bge0 # C-a-s
bind ^w screen -t wpi0 slurm -i wpi0 # C-a-w
# status
hardstatus alwayslastline '%{= M} %{= G} %l %= %{= w}%-w%{+b r}%n*%t%{-b r}%{w}%+w %= %{c}%d %D %{B}%c '
# add CPU idle/sustem/user/interrupt stats
backtick 100 5 5 tail -1 /var/tmp/mprem.stats.top
caption always '%{= wk} %200` %= %100` %='
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment