Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
92 lines (66 sloc) 2.3 KB
# .screenrc - GNU Screen config file
#
# Randy Morris (rson451@gmail.com)
#
# CREATED: a long time ago
# MODIFIED: 2010-04-14 09:22
#
# Note: This file closly ties in with my zshrc for the screen title stuff.
# See http://rsontech.net/dotfiles/zshrc
#
# Basic Settings {{{
deflogin on # All screens are considered logins
autodetach on # Detach on HUP instead of kill
startup_message off # Don't be annoying
vbell off # Don't be annoying
defshell -$SHELL # The dash makes it a login shell
defscrollback 10000 # Remember a lot
nonblock on # Block input from hung applications
defutf8 on # Always use utf8
defflow off # Turn off flow-control
msgwait 3 # Display msgs for N seconds
altscreen on # Enable alternate screen support
attrcolor b ".I" # Allow bold colors
defbce on # Erase background with current background color
bell_msg "" # For urgency hints
term screen-256color-bce # Set $TERM
# }}}
# Define terminal capibilities {{{
terminfo rxvt-unicode 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
# }}}
# Hardstatus {{{
backtick 10 1 300 "check_updates.sh" # List number of available updates
backtick 20 1 100 "check_mail.sh" # List number of new emails
# 1 $irssi _2_$zsh_ 3 #vim 4 $mutt --INSERT-- 1 mail 6 updates
hardstatus alwayslastline "%{= dd}%-w%{+b}%n %t%{-}%+w %=%{= dW}%h%{-}%20`%10`"
# }}}
# Banish screen 0, it sucks {{{
bind c screen 1
bind ^c screen 1
bind 0 select 10
screen -t zsh 1
# }}}
# Keybinds {{{
# Banish stupid s default behavior, make it more useful
bind s split -v
# Be lazy and use Fx keys for screen switching
bindkey -k k1 select 1
bindkey -k k2 select 2
bindkey -k k3 select 3
bindkey -k k4 select 4
bindkey -k k5 select 5
bindkey -k k6 select 6
bindkey -k k7 select 7
bindkey -k k8 select 8
# Use F13 as escape (for caps-lock mapped to F13)
bindkey -k F3 command
bind j focus down
bind k focus up
bind h focus left
bind l focus right
bind J resize +5
bind K resize -5
bind ^A focus
# }}}
# vim:foldlevel=0