2024-08-15 23:31:36 +00:00
|
|
|
source-file ~/.config/tmux/tmux.reset.conf
|
|
|
|
set -g @pluin 'tmux-plugins/tpm'
|
|
|
|
set -g @plugin 'catppuccin/tmux'
|
|
|
|
set -g @pluin 'tmux-plugins/tmux-sensible'
|
|
|
|
set -g @plugin 'tmux-plugins/tmux-yank'
|
2024-08-31 17:24:35 +00:00
|
|
|
set -g @plugin 'tmux-plugins/tmux-resurrect'
|
|
|
|
|
|
|
|
# testing keybinds
|
|
|
|
bind -n S-Pageup copy-mode -u
|
2024-08-15 23:31:36 +00:00
|
|
|
|
|
|
|
# https://www.youtube.com/watch?v=GH3kpsbbERo
|
|
|
|
set -g base-index 1
|
|
|
|
set -g renumber-windows on
|
|
|
|
set -g set-clipboard on
|
2024-08-31 17:24:35 +00:00
|
|
|
set -g display-time 3000
|
|
|
|
set -g detach-on-destroy off
|
|
|
|
setw -g mode-keys vi
|
2024-08-15 23:31:36 +00:00
|
|
|
|
|
|
|
#advice from neovim
|
|
|
|
set -g default-terminal "screen-256color"
|
|
|
|
set -g escape-time 10
|
|
|
|
|
|
|
|
# set status
|
|
|
|
set -g status-position top
|
|
|
|
|
|
|
|
# set tmux prefix to ctrl+\
|
|
|
|
unbind-key C-b
|
|
|
|
set -g prefix C-\\
|
|
|
|
set -g prefix2 C-Space
|
|
|
|
bind-key C-\\ send-prefix
|
|
|
|
|
|
|
|
# enable mouse for scrolling
|
|
|
|
set -g mouse on
|
|
|
|
|
|
|
|
# configure clipboard
|
|
|
|
set -g @clipboard "xclip -sel clip -i"
|
|
|
|
|
|
|
|
# catppuccin configuration
|
|
|
|
set -g @catppuccin_window_left_separator ""
|
|
|
|
set -g @catppuccin_window_right_separator " "
|
|
|
|
set -g @catppuccin_window_middle_separator " █"
|
|
|
|
set -g @catppuccin_window_number_position "right"
|
|
|
|
set -g @catppuccin_window_default_fill "number"
|
|
|
|
set -g @catppuccin_window_default_text "#W"
|
|
|
|
set -g @catppuccin_window_current_fill "number"
|
|
|
|
set -g @catppuccin_window_current_text "#W#{?window_zoomed_flag,(),}"
|
|
|
|
set -g @catppuccin_status_modules_right "directory date_time"
|
|
|
|
set -g @catppuccin_status_modules_left "session"
|
|
|
|
set -g @catppuccin_status_left_separator " "
|
|
|
|
set -g @catppuccin_status_right_separator " "
|
|
|
|
set -g @catppuccin_status_right_separator_inverse "no"
|
|
|
|
set -g @catppuccin_status_fill "icon"
|
|
|
|
set -g @catppuccin_status_connect_separator "no"
|
|
|
|
set -g @catppuccin_directory_text "#{b:pane_current_path}"
|
|
|
|
set -g @catppuccin_date_time_text "%H:%M"
|
|
|
|
|
|
|
|
run '~/.tmux/plugins/tpm/tpm'
|