Created
March 13, 2013 01:45
-
-
Save keithkim/5148743 to your computer and use it in GitHub Desktop.
Linux screen configuration (.screenrc). Instead of ^C, use ^O. And use ^K for copy mode.
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
shell -$SHELL | |
startup_message off | |
defscrollback 5000 | |
shelltitle "$ |bash" | |
hardstatus alwayslastline | |
hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %d/%m %{W}%c %{g}]' | |
# caption always "%{= kw}%-w%{= BW}%n %t%{-}%+w %-= %c" | |
activity "%c activity -> %n%f %t" | |
caption always "%{= Wk}%-w%{= Bw}%n %t%{-}%+w %-=" | |
term screen-256color | |
escape ^Oo | |
bindkey "^[k" eval "copy" "stuff ^b" # enter copy mode and move up one page | |
bindkey "^k" eval "copy" "stuff k" # enter copy mode and move up one line | |
bindkey -m "^[k" stuff ^b # move up one page | |
bindkey -m "^k" stuff k # move up one line |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment