Created
January 29, 2012 17:13
-
-
Save magnusstahre/1699687 to your computer and use it in GitHub Desktop.
My .screenrc and .tmux.conf
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
escape ^Z^Z | |
bind z suspend | |
bind ^a other |
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
unbind C-b | |
set -g prefix C-z | |
bind C-z send-prefix | |
bind z suspend-client |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I don't care for the defaults for either screen (C-a) or tmux (C-b), since both are these are commonly used. I tend not to use C-z (suspend) a lot, so I have bound my prefix to that. In those cases you do need to suspend the command running in the tmux or screen window, you can easily tap C-z twice; this workflow also tends to work outside of tmux or screen, since the shell will suspend with the first C-z, and then effectively ignore the second.