Created
December 22, 2018 03:27
-
-
Save m-Just/d6d5a3db60dedc54adc09a6868567d9c 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
defshell -bash | |
altscreen on | |
autodetach on | |
caption always "%{= kw}%-w%{= kG}%{+b}[%n %t]%{-b}%{= kw}%+w %=%d %M %0c %{g}%H%{-}" | |
# huge scrollback buffer | |
defscrollback 5000 | |
# switch windows with F3 (prev) and F4 (next) | |
bindkey "^[OR" prev | |
bindkey "^[OS" next | |
# useful bindings for region focus switch | |
bind j focus down | |
bind k focus up | |
bind l focus right | |
bind h focus left | |
# window numbering starts at 1 not 0 | |
screen -t -bash 1 bash | |
bind c screen 1 | |
bind 0 select 10 | |
# This line makes Detach and Re-attach without losing the regions/windows layout | |
layout save default |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment