added .screenrc
This commit is contained in:
parent
3bbbddad66
commit
a6201925fc
1 changed files with 73 additions and 0 deletions
73
.screenrc
Normal file
73
.screenrc
Normal file
|
|
@ -0,0 +1,73 @@
|
||||||
|
# Best Goddamn screenrc in the whole world.
|
||||||
|
# Author: Seth House <seth@eseth.com>
|
||||||
|
# Marco Ziesing <mail@marco-ziesing.de>
|
||||||
|
# Modified: 2012-07-10
|
||||||
|
|
||||||
|
shell -${SHELL} # dash (-) is for login shells
|
||||||
|
|
||||||
|
# Messages ####################################################################
|
||||||
|
nethack on # be careful! new screen tonight.
|
||||||
|
sorendition "kg" # makes screen messages stand out, black on green
|
||||||
|
msgwait 2 # default message display is too long
|
||||||
|
startup_message off # boooring!
|
||||||
|
version # echo version on startup, 'cause it's nice to know
|
||||||
|
|
||||||
|
|
||||||
|
# Misc ########################################################################
|
||||||
|
autodetach on # A.K.A. the "save your bacon" option
|
||||||
|
altscreen on # full-screen programs (less, Vim) should be cleared once quit
|
||||||
|
vbell off # visual bells are hard to do right. screen's isn't good
|
||||||
|
defutf8 on # allow utf characters
|
||||||
|
|
||||||
|
defnonblock 5
|
||||||
|
defflow off # try to disable flow control (buggy)
|
||||||
|
bind s # free ctrl-s
|
||||||
|
# Also put this in your shell startup file:
|
||||||
|
# tty > /dev/null && stty -ixon -ixoff
|
||||||
|
# escape ^Ss # Use ctrl-s as the escape key or invoke with screen -e'^Ss'
|
||||||
|
# FIXME: http://web.mit.edu/gnu/doc/html/screen_14.html
|
||||||
|
|
||||||
|
|
||||||
|
bindkey ^[[1;3D prev
|
||||||
|
bindkey ^[[1;3C next
|
||||||
|
|
||||||
|
# Scroll-back mode ############################################################
|
||||||
|
ignorecase on # case insensitive search in scroll-back mode
|
||||||
|
defscrollback 9999 # default scroll-back buffer is tiny. (no. of lines.)
|
||||||
|
bufferfile $HOME/.screen-exchange # keep the buffer exchange file out of /tmp
|
||||||
|
|
||||||
|
# FIXME: http://stackoverflow.com/questions/994563/integrate-readlines-kill-ring-and-the-x11-clipboard
|
||||||
|
|
||||||
|
# disable use of the "alternate" terminal
|
||||||
|
# thus allowing scrollbars to function as normal in
|
||||||
|
# many terminal emulators! <3 it
|
||||||
|
termcapinfo xterm* ti@:te@
|
||||||
|
|
||||||
|
# Enable 256 Colors (http://frexx.de/xterm-256-notes/) ######################
|
||||||
|
#
|
||||||
|
# terminfo and termcap for nice 256 color terminal
|
||||||
|
# allow bold colors - necessary for some reason
|
||||||
|
attrcolor b ".I"
|
||||||
|
# tell screen how to set colors. AB=background, AF=foreground
|
||||||
|
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
|
||||||
|
# erase background with current bg color
|
||||||
|
defbce "on"
|
||||||
|
|
||||||
|
|
||||||
|
# Create windows on startup ###################################################
|
||||||
|
screen -t main
|
||||||
|
screen -t work
|
||||||
|
screen -t mail
|
||||||
|
screen -t chat
|
||||||
|
screen -t system
|
||||||
|
select 0
|
||||||
|
|
||||||
|
|
||||||
|
# Hardstatus ##################################################################
|
||||||
|
# Adds a nice "tabbed" look, kinda long but gracefully pushes the status stuff off-screen if need be
|
||||||
|
hardstatus alwayslastline "%{wk}%?%-Lw%?%{bw}%n*%f %t%?(%u)%?%{wk}%?%+Lw %= %{mk}@%H %{ck}%Y-%m-%d %{yk}%D %{gk}%0c %{bk}%l"
|
||||||
|
|
||||||
|
# TODO: Detail every part of the hardstatus line below
|
||||||
|
# %{wk} - Default white on black
|
||||||
|
|
||||||
|
# EOF
|
||||||
Loading…
Add table
Add a link
Reference in a new issue