Created
January 18, 2013 05:07
-
-
Save awhitty/4562484 to your computer and use it in GitHub Desktop.
Screen dotfiles to be placed in ~/.screenrc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Disable the startup message | |
startup_message off | |
# create a status line at the bottom of the screen. this will show the titles and locations of | |
# all screen windows you have open at any given time | |
hardstatus alwayslastline "%{= dR} %-Lw%50>%{= dG}%n%f* %{= dW}%t%{= dR}%+Lw%<" | |
# bind some function keys (k1 == F1, etc) for fast navigation through screen windows | |
# | |
# | |
# use F8 to turn the status bar off at the bottom of the screen | |
bindkey -k k8 hardstatus alwayslastline | |
# use F9 to turn the status bar on the bottom back on | |
bindkey -k k9 hardstatus alwaysignore | |
# the next 2 lines are set up to use F1 and F2 to move one screen forward or backward (respectively) through your screen session. | |
bindkey -k k1 prev | |
bindkey -k k2 next | |
# This changes the default control character (normally ^a) to something else | |
# (i do this to ease the use of nested screens so command characters dont conflict with each other) | |
escape "^Ff" | |
# set the ssh-agent on my workstation to forward my ssh key through my screen windows | |
# . .keychain/<hostname>-sh | |
# this will log screen errors to a daily log under the speficied directory | |
# logfile /home/<username>/logs/screen_%y-%m-%d_%0c | |
# the following lines are just to open and title several screen windows that i use throughout the day | |
# screen -t irc /bin/sh -c "softbeep irssi;bash" | |
screen -t home | |
screen -t local | |
screen -t local | |
#screen -t local | |
#screen -t local | |
# these last 2 lines are to set the focus on startup (which screen window we look at when screen finishes starting) | |
focus | |
select 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment