Skip to content

Instantly share code, notes, and snippets.

@eberfreitas
Last active July 28, 2021 12:52
Show Gist options
  • Save eberfreitas/97e80961f6dc2c75cc72abef62c3b94f to your computer and use it in GitHub Desktop.
Save eberfreitas/97e80961f6dc2c75cc72abef62c3b94f to your computer and use it in GitHub Desktop.
My tmux config
# Changes prefix to Ctrl+a
set -g prefix C-a
unbind-key C-b
# Starts windows numbers at 1
set -g base-index 1
setw -g pane-base-index 1
# Renumber windows when closing one
set-option -g renumber-windows on
# Enables vi mode
set-window-option -g mode-keys vi
# Enables mouse events
set-option -g mouse on
# Starts selection with the 'v' key
bind-key -T copy-mode-vi 'v' send -X begin-selection
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'egel/tmux-gruvbox'
set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
set -g @plugin 'tmux-plugins/tmux-copycat'
set -g @plugin 'tmux-plugins/tmux-yank'
# 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