Created
April 17, 2017 12:47
-
-
Save y-fedorov/48f4ff2340625a17cc3c9914abfa5f37 to your computer and use it in GitHub Desktop.
screen config for tmux like bindings config
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
# Oracle Linux 6.* there is no support for the tmux, but I really like tmux. | |
# | |
# based on https://gist.github.com/jelsas/864090 | |
#remap Ctrl+A to Ctrl+B | |
escape ^Bb | |
hardstatus alwayslastline | |
hardstatus string '%{= kG}[%{G}%H%? %1`%?%{g}][%= %{= kw}%-w%{+b yk} %n*%t%?(%u)%? %{-}%+w %=%{g}][%{B}%m/%d %{W}%C%A%{g}]' | |
defscrollback 10000 | |
# f1-8 switch to those windows (OSX keeps 9-12 reserved for dashboard) | |
bindkey "^[OP" select 1 | |
bindkey "^[OQ" select 2 | |
bindkey "^[OR" select 3 | |
bindkey "^[OS" select 4 | |
bindkey "^[[15~" select 5 | |
bindkey "^[[17~" select 6 | |
bindkey "^[[18~" select 7 | |
bindkey "^[[19~" select 8 | |
# get rid of silly xoff stuff | |
bind s split | |
# navigating regions | |
bind j focus down | |
bind k focus up | |
bind h focus left | |
bind l focus right | |
# resizing regions | |
bind + resize +5 | |
bind - resize -5 | |
bind = resize = |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment