Skip to content

Instantly share code, notes, and snippets.

@syndrowm
Created May 3, 2020 02:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save syndrowm/09ab48db9acde9071a35001340086eac to your computer and use it in GitHub Desktop.
Save syndrowm/09ab48db9acde9071a35001340086eac to your computer and use it in GitHub Desktop.
# reload config
unbind r
bind-key r source-file ~/.tmux.conf \; display "Reloaded"
unbind 0
bind-key 0 select-window -t :10
bind-key T resize-pane -L
bind-key Y resize-pane -R
bind-key U resize-pane -U
bind-key R resize-pane -D
bind-key O select-pane -t :.-
# do like chrome cmd-9 goes to whatever the last window is
bind-key 9 run-shell "tmux select-window -t `tmux list-windows | awk -F\: '{print $1}'| tail -1`"
bind-key g new-window \; split-window -h \; split-window -d
bind-key F select-layout 7d3e,278x75,0,0{139x75,0,0,0,138x75,140,0[138x37,140,0,1,138x37,140,38,6]}
set -g base-index 1
set -g mode-keys vi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment