Skip to content

Instantly share code, notes, and snippets.

@makemek
Created February 17, 2025 03:36
Show Gist options
  • Save makemek/b344e6fd921978922d637764364968a2 to your computer and use it in GitHub Desktop.
Save makemek/b344e6fd921978922d637764364968a2 to your computer and use it in GitHub Desktop.
my tmux conf
unbind r
bind r source-file ~/.tmux.conf
unbind C-b
set -g prefix \\
bind \\ send-prefix
set -g base-index 1
setw -g pane-base-index 1
unbind x
bind x kill-pane
bind X kill-session
set -g default-terminal "tmux-256color"
bind | split-window -h -c "~/coding"
bind - split-window -v -c "~/coding"
bind c new-window -c "~/coding"
# theme
set -g @catppuccin_flavor "latte"
set -g @catppuccin_window_status_style "rounded"
run ~/.config/tmux/plugins/catppuccin/tmux/catppuccin.tmux
set -g status-right-length 100
set -g status-left-length 100
set -g status-left ""
set -g status-right "#{E:@catppuccin_status_application}"
set -g @catppuccin_application_icon " "
set -ag status-right "#{E:@catppuccin_status_directory}"
set -ag status-right "#{E:@catppuccin_status_date_time}"
#set -agF status-right "#{E:@catppuccin_status_cpu}"
#set -ag status-right "#{E:@catppuccin_status_session}"
#set -ag status-right "#{E:@catppuccin_status_uptime}"
#set -agF status-right "#{E:@catppuccin_status_battery}"
#set -ogq @catppuccin_window_current_text " #T"
#set -ogq @catppuccin_window_text " #T"
#run ~/.config/tmux/plugins/tmux-plugins/tmux-cpu/cpu.tmux
#run ~/.config/tmux/plugins/tmux-plugins/tmux-battery/battery.tmux
set -g @catppuccin_window_text " #W "
set -g @catppuccin_window_current_text " #W "
# act like vim
setw -g mode-keys vi
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-battery'
set -g @plugin 'tmux-plugins/tmux-cpu'
run '~/.tmux/plugins/tpm/tpm'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment