Last active
August 29, 2015 14:13
-
-
Save k-shin/4bc60a1ab1a190fa05a4 to your computer and use it in GitHub Desktop.
This file contains 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
caption always "%{= wd}local %?%F%{= wd}%:%{= wd}%?%2n%f%07= %t%?%F%:%{= wd}%?%=%Y/%m/%d (Load:%l )" | |
hardstatus alwayslastline "%{= dw}[%02c:%s]%010=%-w%{= wd}%60>%n %t%{= dw}%+w%< %=" | |
escape ^Tt | |
# *** CHANGE ME *** | |
# session name renamed to recognized easily at `screen -list' | |
sessionname xxxx | |
# I like a large scrollback | |
defscrollback 15000 | |
# sets the encoding of the default window. | |
defencoding utf8 | |
# login shortcut | |
bind R colon 'screen ssh ' | |
bind T colon 'screen telnet ' | |
# encoding aliases | |
bind u eval 'encoding utf8' 'info' | |
bind ^U eval 'encoding utf8' 'info' | |
bind e eval 'encoding eucjp' 'info' | |
bind ^E eval 'encoding eucjp' 'info' | |
# window focus(like vi) | |
bind j focus down | |
bind k focus up | |
bind t focus top | |
bind b focus bottom | |
# continuous region resize | |
bind r eval 'echo "Resize window"' 'command -c resize' | |
bind -c resize command | |
bind -c resize j eval 'resize +1' 'command -c resize' | |
bind -c resize k eval 'resize -1' 'command -c resize' | |
# hardstatus alwayslastline "%w" | |
vbell off | |
shell bash | |
termcapinfo xterm 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l' | |
autodetach on | |
startup_message off | |
# to select window numbers that are larger than 9 | |
bind o eval 'echo "Input a window number to switch in: 1[0-9] or o to the following"' 'command -c select10' | |
bind -c select10 0 select 10 | |
bind -c select10 1 select 11 | |
bind -c select10 2 select 12 | |
bind -c select10 3 select 13 | |
bind -c select10 4 select 14 | |
bind -c select10 5 select 15 | |
bind -c select10 6 select 16 | |
bind -c select10 7 select 17 | |
bind -c select10 8 select 18 | |
bind -c select10 9 select 19 | |
# bind -c select10 o eval 'echo "Input a window number to switch in: 2[0-9] or o to the following"' 'command -c select20' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment