konfigurasi tmux di ubuntu yang tampan dan berkharisma
file konfigurasi tmux berada di ~/.tmux.conf.
.tmux.conf
#set the prefix from C-b to C-bset -g prefix C-a#free the original C-b prefixunbind C-b#set the delay between prefix & commandset -s escape-time 1#set tha base index for windows to 1 instead of 0set -g base-index 1#set tha base index for pane to 1 instead of 0setw -g pane-base-index 1# customize keybindingbind r source-file ~/.tmux.conf \; display "Reloaded!"# sending the prefix to other app (nvim/vim maybe?)bind C-a send-prefix# spliting panesbind | split-window -hbind - split-window -v#moving between panes with hjklbind h select-pane -Lbind j select-pane -Dbind k select-pane -Ubind l select-pane -R# quick window selection with C-h / C-lbind -r C-h select-window -t :-bind -r C-l select-window -t :+# resizing panebind H resize-pane -L 5bind J resize-pane -D 5bind K resize-pane -U 5bind L resize-pane -R 5# handling the mouseset -g mouse on# setting status lineset -g status-position top# automatically renumber the window index if one of them being deletedset -g renumber-windows on# Configure the catppuccin pluginset -g @catppuccin_flavor "mocha"set -g @catppuccin_window_status_style "rounded"# make the window name show it's name instead of username of the systemset -g @catppuccin_window_default_text "#W"set -g @catppuccin_window_current_text "#W"# Make the status line pretty and add some modulesset -g status-right-length 100set -g status-left-length 100set -g status-left ""set -g status-right "#{E:@catppuccin_status_application}"set -agF status-right "#{E:@catppuccin_status_cpu}"set -ag status-right "#{E:@catppuccin_status_session}"set -agF status-right "#{E:@catppuccin_status_battery}"# List of pluginsset -g @plugin 'tmux-plugins/tpm'set -g @plugin 'tmux-plugins/tmux-sensible'set -g @plugin 'tmux-plugins/tmux-cpu'set -g @plugin 'tmux-plugins/tmux-battery'set -g @plugin 'catppuccin/tmux#v2.1.2'# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)run '~/.tmux/plugins/tpm/tpm'