Skip to content

Instantly share code, notes, and snippets.

@dvdknaap
Last active May 3, 2018 05:38
Show Gist options
  • Save dvdknaap/2b6e256f0b683001238f1bcc26a0477a to your computer and use it in GitHub Desktop.
Save dvdknaap/2b6e256f0b683001238f1bcc26a0477a to your computer and use it in GitHub Desktop.
.tmux.conf
# remap prefix to Control + a
set -g prefix ^a
# bind 'C-a C-a' to type 'C-a'
bind ^a send-prefix
unbind ^b
# Qualtiy of life stuff
set -g history-limit 10000
set -g allow-rename off
## Join windows
bind-key j command-prompt -p "join pane from:" "join-pane -s '%%'"
bind-key s command-prompt -p "send pane to:" "join-pane -t '%%'"
# Search Mode VI (default is emac)
set-window-option -g mode-keys vi
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-logging'
set -g @plugin 'tmux-plugins/tmux-copycat'
set -g @plugin 'tmux-plugins/tmux-pain-control'
set -g @plugin 'tmux-plugins/tmux-resurrect'
# 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