Last active
August 16, 2017 10:02
-
-
Save alexmorley/1523245c08ee4c6a418d398c5c78c75d 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
unbind C-b | |
set -g prefix C-a | |
# set active shell to green, other one to blue | |
set -g status-bg colour40 | |
setw -g window-status-current-bg colour40 | |
# Some other shortcuts that can be useful for some | |
# bind -n C-t new-window -a | |
# bind -n S-left prev | |
# bind -n S-right next | |
# bind -n S-C-left swap-window -t -1 | |
# bind -n S-C-right swap-window -t +1 | |
# bind -n M-F11 set -qg status-bg colour25 | |
# bind -n M-F12 set -qg status-bg colour40 | |
# shift up to go one more nest in | |
bind -n S-up \ | |
send-keys M-F12 \; \ | |
set -qg status-bg colour25 \; \ | |
unbind -n S-left \; \ | |
unbind -n S-right \; \ | |
unbind -n S-C-left \; \ | |
unbind -n S-C-right \; \ | |
unbind -n C-t \; \ | |
set -qg prefix C-b | |
# shift down to get outta that nest | |
bind -n S-down \ | |
send-keys M-F11 \; \ | |
set -qg status-bg colour40 \; \ | |
bind -n S-left prev \; \ | |
bind -n S-right next \; \ | |
bind -n S-C-left swap-window -t -1 \; \ | |
bind -n S-C-right swap-window -t +1 \; \ | |
bind -n C-t new-window -a -c "#{pane_current_path}" \; \ | |
set -qg prefix C-a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment