Skip to content

Instantly share code, notes, and snippets.

@4nd3r
Last active December 12, 2021 13:09
Show Gist options
  • Save 4nd3r/350388028665b4030833a6c6b37eb133 to your computer and use it in GitHub Desktop.
Save 4nd3r/350388028665b4030833a6c6b37eb133 to your computer and use it in GitHub Desktop.
set -g default-terminal screen-256color
set -ga terminal-overrides ',xterm-256color:RGB'
set -g escape-time 10
set -g prefix C-a
set -g status on
set -g base-index 1
set -g renumber-windows on
set -g main-pane-width 65%
set -g status-left ""
set -g status-right ""
set -g pane-border-style fg=brightblack
set -g pane-active-border-style fg=white
set -g status-style none
set -g message-style reverse
set -g mode-style fg=brightwhite
set -g window-status-current-style fg=brightwhite
set -g window-status-bell-style fg=brightgreen
set -g window-status-separator ""
set -g window-status-format "#I#F "
set -g window-status-current-format "#I#F "
unbind -a
bind : command-prompt
bind a send-prefix
bind b break-pane -t :
bind c new-window
bind d detach
bind PPage copy-mode
bind \\ split-window -h -c "#{pane_current_path}"
bind / split-window -v -c "#{pane_current_path}"
bind f resize-pane -Z
bind t select-layout tiled
bind h select-layout even-horizontal
bind v select-layout even-vertical
bind m select-layout main-vertical
bind Space next-window
bind BSpace previous-window
bind C-a last-window
bind 1 select-window -t :1
bind M-1 join-pane -t :1
bind 2 select-window -t :2
bind M-2 join-pane -t :2
bind 3 select-window -t :3
bind M-3 join-pane -t :3
bind 4 select-window -t :4
bind M-4 join-pane -t :4
bind 5 select-window -t :5
bind M-5 join-pane -t :5
bind 6 select-window -t :6
bind M-6 join-pane -t :6
bind 7 select-window -t :7
bind M-7 join-pane -t :7
bind 8 select-window -t :8
bind M-8 join-pane -t :8
bind 9 select-window -t :9
bind M-9 join-pane -t :9
bind 0 select-window -t :10
bind M-0 join-pane -t :10
bind M-Up resize-pane -U 5
bind M-Right resize-pane -R 10
bind M-Down resize-pane -D 5
bind M-Left resize-pane -L 10
bind Up select-pane -U
bind Right select-pane -R
bind Down select-pane -D
bind Left select-pane -L
bind C-Up swap-pane -s '{up-of}'
bind C-Right swap-pane -s '{right-of}'
bind C-Down swap-pane -s '{down-of}'
bind C-Left swap-pane -s '{left-of}'
bind S-Right swap-window -t +1\; select-window -t +1
bind S-Left swap-window -t -1\; select-window -t -1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment