dotfiles/dot-config/tmux/tmux.conf

60 lines
1.6 KiB
Plaintext
Raw Normal View History

2024-10-25 11:48:49 +00:00
set -g mouse on
set -sa terminal-overrides ",xterm*:Tc"
set-option -g destroy-unattached on
unbind C-b
set -g prefix C-Space
bind C-Space send-prefix
set -g base-index 1
set -g pane-base-index 1
set-window-option -g pane-base-index 1
set-option -g renumber-windows on
bind -n M-H previous-window
bind -n M-: next-window
# List of plugins
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'catppuccin/tmux'
2024-10-25 11:48:49 +00:00
set -g @plugin 'christoomey/vim-tmux-navigator'
set -g @plugin 'tmux-plugins/tmux-yank'
2024-12-12 08:27:00 +00:00
set -g @plugin 'tmux-plugins/tmux-cpu'
2024-10-25 11:48:49 +00:00
set -g @plugin 'tmux-plugins/tpm'
2024-12-12 08:27:00 +00:00
# catppuccin
2024-10-25 11:48:49 +00:00
set -g @catppuccin_flavour 'mocha'
set -g @catppuccin_window_status_style "rounded"
2024-12-12 08:27:00 +00:00
set -g @catppuccin_status_background "#1e1e2e"
set -g @catppuccin_status_left_separator " "
set -g @catppuccin_status_right_separator ""
set -g @catppuccin_status_fill "icon"
set -g @catppuccin_status_connect_separator "no"
# status
2024-10-25 11:48:49 +00:00
set -g status-right-length 100
set -g status-left-length 100
set -g status-left ""
2024-12-12 08:27:00 +00:00
set -g status-right ""
2024-10-25 11:48:49 +00:00
set -ag status-right "#{E:@catppuccin_status_session}"
set -ag status-right "#{E:@catppuccin_status_uptime}"
2024-12-12 08:27:00 +00:00
set -as terminal-features ",alacritty*:RGB"
set -as terminal-features ",foot:RGB"
set -g mouse on
set -g default-shell /bin/fish
2024-10-25 11:48:49 +00:00
set-window-option -g mode-keys vi
2024-12-12 08:27:00 +00:00
# binds
2024-10-25 11:48:49 +00:00
bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key -T copy-mode-vi C-v send-keys -X rectangle-selection
bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
unbind %
unbind '"'
bind ']' split-window -v -c "#{pane_current_path}"
bind '\' split-window -h -c "#{pane_current_path}"
2024-10-25 11:48:49 +00:00
bind C-l send-keys 'C-l'
run '~/.config/tmux/tpm/tpm'