This commit is contained in:
foozzi 2024-09-08 15:25:37 +02:00
parent 470f518160
commit d49478dd61
3 changed files with 83 additions and 14 deletions

View file

@ -1,4 +1,5 @@
# mouse
source-file ~/.tmux/themes/tmux-colorscheme.conf
setw -g mouse on
unbind C-b
@ -9,7 +10,8 @@ set -g mode-keys vi
bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key -T copy-mode-vi y send-keys -X copy-pipe "pbcopy"
set -g default-terminal tmux-256color
# set -g default-terminal tmux-256color
set -g default-terminal xterm-256color
set -sa terminal-features ',alacritty:RGB'
set -ga terminal-overrides ",*256col*:Tc"
@ -32,27 +34,31 @@ bind -n M-d split-window -h -c '#{pane_current_path}'
bind -n M-W kill-pane
# Automatic restore
set -g @continuum-restore 'on'
set -g @resurrect-capture-pane-contents 'on'
# set -g @continuum-restore 'on'
# set -g @resurrect-capture-pane-contents 'on'
#set -g @resurrect-processes ''
set -g @catppuccin_window_status_icon_enable "yes"
set -g @catppuccin_window_default_fill "number"
set -g @catppuccin_status_left_separator "█"
set -g @catppuccin_status_fill "all"
set -g @catppuccin_status_modules_right "application session battery"
set -g @catppuccin_application_icon ""
# very unique Mac bug
if-shell "type 'reattach-to-user-namespace' >/dev/null" "set -g default-command 'reattach-to-user-namespace -l $SHELL'"
# set -g status-style "fg=#665c54"
# set -g status-bg default
set -g status-position top
# set -g status-interval 1
# set -g status-left ""
# disable status
#set -g status off
set -g status on
# plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'catppuccin/tmux'
set -g @plugin 'tmux-plugins/tmux-battery'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
# set -g @plugin 'tmux-plugins/tmux-resurrect'
# set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @plugin 'MunifTanjim/tmux-mode-indicator'
set -g @plugin 'christoomey/vim-tmux-navigator'
run '~/.tmux/plugins/tpm/tpm'