Created
May 22, 2013 07:34
-
-
Save yu-orz/5625870 to your computer and use it in GitHub Desktop.
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
vbell off | |
autodetach on | |
startup_message off | |
defscrollback 5000 | |
escape ^e^e | |
shelltitle '$ |zsh' | |
#shell -$SHELL | |
shell /bin/bash | |
#term $TERM | |
termcapinfo xterm 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l' | |
bind s colon 'screen ssh ' | |
bind k | |
bind ^k | |
bind . | |
bind ^\ | |
bind \\ | |
bind ^h | |
bind h | |
# logging | |
#logfile "screen/log/screenlog.%H.%Y%m%d-%c:%s.%n.%t.log" | |
#logtstamp on | |
# changes the kind of messages to the nethack-style. | |
nethack on | |
# resion focus(like vi) | |
bind j focus down | |
bind k focus up | |
bind t focus top | |
bind b focus bottom | |
# Other bind | |
bind w eval 'echo "Operate window"' 'command -c operate' | |
bind -c operate ^] command | |
bind -c operate j eval 'focus down' 'command -c operate' | |
bind -c operate k eval 'focus up' 'command -c operate' | |
bind -c operate h eval 'focus left' 'command -c operate' | |
bind -c operate l eval 'focus right' 'command -c operate' | |
bind -c operate t eval 'focus top' 'command -c operate' | |
bind -c operate b eval 'focus bottom' 'command -c operate' | |
bind -c operate + eval 'resize -v +1' 'command -c operate' | |
bind -c operate - eval 'resize -v -1' 'command -c operate' | |
bind -c operate > eval 'resize -h +1' 'command -c operate' | |
bind -c operate < eval 'resize -h -1' 'command -c operate' | |
bind -c operate = eval 'resize -v =' 'command -c operate' | |
bind -c operate s eval 'split' 'command -c operate' | |
bind -c operate c eval 'screen' 'command -c operate' | |
bind -c operate x eval 'remove' 'command -c operate' | |
bind -c operate v eval 'split -v' 'command -c operate' | |
bind -c operate 0 eval 'select 0' 'command -c operate' | |
bind -c operate 1 eval 'select 1' 'command -c operate' | |
bind -c operate 2 eval 'select 2' 'command -c operate' | |
bind -c operate 3 eval 'select 3' 'command -c operate' | |
bind -c operate 4 eval 'select 4' 'command -c operate' | |
bind -c operate 5 eval 'select 5' 'command -c operate' | |
bind -c operate 6 eval 'select 6' 'command -c operate' | |
bind -c operate 7 eval 'select 7' 'command -c operate' | |
bind -c operate 8 eval 'select 8' 'command -c operate' | |
bind -c operate 9 eval 'select 9' 'command -c operate' | |
#caption always "%?%F%{= wk}% $PWD" | |
hardstatus alwayslastline "%{= Gk} $USER@%H %{= Bk} %-w%{= wk}%n %t%{-}%+w %=%{wk} [$LANG] [%y/%m/%d %02c] %l" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment