set -g @plugin 'tmux-plugins/tmux-resurrect' set -g @plugin 'tmux-plugins/tmux-continuum' set -g @continuum-restore 'on' set -g @continuum-save-interval '10' set -g default-terminal "tmux-256color" set -ga terminal-overrides ",xterm-256color:Tc" set -g @continuum-boot 'on' set -g mouse on set -g history-limit 100000 set -g base-index 1 setw -g pane-base-index 1 unbind C-b set -g prefix C-Space bind C-Space send-prefix set -g detach-on-destroy off set -g renumber-windows on set -g set-clipboard on set -g @continuum-restore 'on' set -g @continuum-save-interval 0 set -g default-terminal "tmux-256color" set -ga terminal-overrides ",xterm-256color:Tc" set -g @continuum-boot 'on' set -g mouse on set -g history-limit 100000 setw -g mode-keys vi bind r source-file ~/.tmux.conf \; display-message "Config reloaded" bind - split-window -v -c "#{pane_current_path}" bind \\ split-window -h -c "#{pane_current_path}" bind h select-pane -L bind j select-pane -D bind k select-pane -U bind l select-pane -R bind -r H resize-pane -L 5 bind -r J resize-pane -D 5 bind -r K resize-pane -U 5 bind -r L resize-pane -R 5 bind -T copy-mode-vi v send -X begin-selection bind -T copy-mode-vi V send -X select-line bind -T copy-mode-vi C-v send -X rectangle-toggle bind -T copy-mode-vi y send -X copy-selection-and-cancel bind -T copy-mode-vi Enter send -X copy-selection-and-cancel bind -T copy-mode-vi Escape send -X cancel bind -T copy-mode-vi H send -X start-of-line bind -T copy-mode-vi L send -X end-of-line bind -T copy-mode-vi C-u send -X halfpage-up bind -T copy-mode-vi C-d send -X halfpage-down bind -T copy-mode-vi / command-prompt -p "search" "send -X search-forward '%%'" bind -T copy-mode-vi ? command-prompt -p "search" "send -X search-backward '%%'" bind -T copy-mode-vi n send -X search-again bind -T copy-mode-vi N send -X search-reverse bind -T copy-mode-vi j send -X cursor-down bind -T copy-mode-vi k send -X cursor-up unbind & bind & kill-window unbind [ bind -n M-v copy-mode set-option -g focus-events on set -sg escape-time 10 set -g default-command "${SHELL}" set -g status-position top set -g status-left "" set -g status-right "" set -g status-style default set -g window-status-style default set -g window-status-current-style default set -g pane-border-style default set -g pane-active-border-style default set -g message-style default set -g mode-style default set -g status-left-length 50 set -g status-right-length 100 set -g status-right " #S " set -g window-status-format " #I " set -g window-status-current-format "#[fg=#363a4f]#[bg=#363a4f,fg=#b7bdf8] #I #[fg=#363a4f,bg=default]#[default]" set -g set-titles off set -g automatic-rename off set -g mode-keys vi set -g mouse on set -g @plugin 'tmux-plugins/tmux-resurrect' set -g @plugin 'tmux-plugins/tmux-continuum' set -g @continuum-restore 'on' set -g @continuum-save-interval '10' run '~/.tmux/plugins/tpm/tpm'