Skip to content

Instantly share code, notes, and snippets.

@hiorws
Created December 18, 2024 21:47
Show Gist options
  • Save hiorws/b258bf9f213a3557e88c289940dd612b to your computer and use it in GitHub Desktop.
Save hiorws/b258bf9f213a3557e88c289940dd612b to your computer and use it in GitHub Desktop.
# global configs
set -g prefix C-s
bind r source-file ~/.tmux.conf \; display "Bang!"
bind-key c new-window -n 'term'
# setw -g mode-keys vi
set-option -g history-limit 3000
set-option -g status-position top
set -g base-index 1
set -g pane-base-index 1
set -g renumber-windows on
set -g mouse on
set-option -g history-limit 5000
# Set 256 colors
set -s default-terminal 'tmux-256color'
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'catppuccin/tmux'
set -g @plugin 'tmux-plugins/tmux-cpu'
set -g @plugin 'jamesoff/tmux-loadavg'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @resurrect-save 'S'
set -g @resurrect-restore 'R'
set -g @catppuccin_flavour 'mocha' # latte,frappe, macchiato or mocha
set -g @catppuccin_status_background "theme"
set -g @catppuccin_window_left_separator ""
set -g @catppuccin_window_right_separator " "
set -g @catppuccin_window_middle_separator " █"
set -g @catppuccin_window_number_position "right"
set -g @catppuccin_window_default_fill "number"
set -g @catppuccin_window_default_text "#W"
set -g @catppuccin_window_current_fill "number"
set -g @catppuccin_window_current_text "#W"
set -g @catppuccin_status_modules_right "cpu load ram-usage date_time session"
set -g @catppuccin_status_left_separator " "
set -g @catppuccin_status_right_separator ""
set -g @catppuccin_status_fill "icon"
set -g @catppuccin_status_connect_separator "yes"
set -g @catppuccin_directory_text "#{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