Created
November 13, 2011 16:57
-
-
Save katsuma/1362327 to your computer and use it in GitHub Desktop.
latest .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
## エスケープキーの設定 | |
escape ^Tt | |
## ビジュアルベルを無効 | |
vbell off | |
## ステータス行の設定 | |
hardstatus alwayslastline "[%02c] %`%-w%{=b bw}%n %t%{-}%+w" | |
## スタートアップ時メッセージ無効 | |
startup_message off | |
## 自動でデタッチする | |
autodetach on | |
## スクロール行を 10,240行 | |
defscrollback 10240 | |
## ^T U で UTF-8 / ^T E で EUC-JP を切り替え | |
bind U eval "encoding utf-8" "!!!echo 'export LANG=ja_JP.UTF-8'" | |
bind E eval "encoding euc" "!!!echo 'export LANG=ja_JP.EUC-JP'" | |
## copy | |
bindkey -m ' ' eval 'stuff " "' writebuf 'exec sh -c "pbcopy < /tmp/screen-exchange"' | |
bindkey -m 'Y' eval 'stuff "Y"' writebuf 'exec sh -c "pbcopy < /tmp/screen-exchange"' | |
bindkey -m 'W' eval 'stuff "W"' writebuf 'exec sh -c "pbcopy < /tmp/screen-exchange"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment