diff options
Diffstat (limited to '.config/tmux/tmux.conf')
| -rw-r--r-- | .config/tmux/tmux.conf | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf new file mode 100644 index 0000000..03c7a51 --- /dev/null +++ b/.config/tmux/tmux.conf @@ -0,0 +1,45 @@ +# Resource tmux +unbind r +bind r source-file ~/.config/tmux/tmux.conf + +set -g default-terminal "tmux-256color" +set -ga terminal-overrides ",xterm-256color:Tc" + +# Rebind prefix key to C-s +set -g prefix C-s + +# Resize window with mouse +set -g mouse on + +bind-key h select-pane -L +bind-key j select-pane -D +bind-key k select-pane -U +bind-key l select-pane -R + +set-option -g status-position top + +# List of plugins +set -g @plugin 'tmux-plugins/tpm' +set -g @plugin 'tmux-plugins/tmux-sensible' +set -g @plugin 'tmux-plugins/tmux-yank' +set -g @plugin 'tmux-plugins/tmux-cpu' +set -g @plugin 'tmux-plugins/tmux-battery' + +set -g @plugin 'catppuccin/tmux' +set -g @catppuccin_window_status_style "rounded" + +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 -ag status-right "#{E:@catppuccin_status_cpu}" +set -ag status-right "#{E:@catppuccin_status_session}" +set -ag status-right "#{E:@catppuccin_status_uptime}" +set -g @catppuccin_window_default_text " #W" +set -g @catppuccin_window_text " #W" +set -g @catppuccin_window_current_text " #W" +# set -agF status-right "#{E:@catppuccin_status_battery}" +set-window-option -g automatic-rename off +set-option -g allow-rename off +# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) +run '~/.config/tmux/plugins/tpm/tpm' |
