Skip to content

Instantly share code, notes, and snippets.

@jamescarr
Created November 12, 2024 19:28
Show Gist options
  • Save jamescarr/a3b09a3f912926d6c52291d422d429a1 to your computer and use it in GitHub Desktop.
Save jamescarr/a3b09a3f912926d6c52291d422d429a1 to your computer and use it in GitHub Desktop.
# Ease of use settings
set -g mouse on
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
# Theme
set -g @plugin 'dracula/tmux'
set -g @dracula-show-powerline true
set -g @dracula-show-left-icon session
# Set 256 colors
set -s default-terminal 'tmux-256color'
# Save and restore sessions
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
# Open new pane in current dir
bind c new-window -c "#{pane_current_path}"
bind '"' split-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
# 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