repos / dotfiles

my dotfiles

dotfiles / dot
Eric Bower  ·  2025-07-07

tmux.conf

 1unbind C-b
 2set-option -g prefix C-Space
 3bind-key C-Space send-prefix
 4
 5# https://unix.stackexchange.com/a/400954
 6set -g default-terminal "tmux-256color"
 7# https://unix.stackexchange.com/a/734894
 8set -ag terminal-overrides ",tmux-256color:RGB"
 9
10set -g set-clipboard on
11set-option -ga update-environment ' SWAYSOCK'
12set-option -ga update-environment ' DISPLAY'
13# https://stackoverflow.com/a/18953148
14set-option -g renumber-windows on
15# Set new panes to open in current directory
16bind c new-window -c "#{pane_current_path}"
17bind '"' split-window -c "#{pane_current_path}"
18bind % split-window -h -c "#{pane_current_path}"
19# fix highlight style
20set-window-option -g mode-style "fg=default,bg=default,reverse"
21
22# vim copy mode bindings
23setw -g mode-keys vi
24# List of plugins
25set -g @plugin 'tmux-plugins/tpm'
26set -g @plugin 'tmux-plugins/tmux-sensible'
27set -g @plugin 'christoomey/vim-tmux-navigator'
28# set -g @plugin 'tmux-plugins/tmux-yank'
29set -g @plugin 'dracula/tmux'
30set -g @dracula-plugins "time"
31set -g @dracula-show-timezone false
32set -g @dracula-day-month false
33set -g @dracula-military-time false
34set -g @dracula-show-powerline false
35set -g @dracula-show-left-icon session
36set -g @dracula-show-flags true
37set -g @dracula-git-disable-status true
38
39# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
40run '~/.tmux/plugins/tpm/tpm'