Skip to content

Instantly share code, notes, and snippets.

@thiagocaiubi
Created June 29, 2017 12:24
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 thiagocaiubi/a762d36ba5ddca6032aac0a4b76b605c to your computer and use it in GitHub Desktop.
Save thiagocaiubi/a762d36ba5ddca6032aac0a4b76b605c to your computer and use it in GitHub Desktop.
# Plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
# Rebind prefix key
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# Reload config file
bind r source-file ~/.tmux.conf \; display "Config Reloaded!"
# Open new window and panes in same directory
bind '"' split-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
bind c new-window -c "#{pane_current_path}"
# Pane nanigation
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# Theme
set -g status-bg colour240
set -g status-fg white
# Continuum
set -g @continuum-restore 'on'
set -g @continuum-save-interval '15'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment