summaryrefslogtreecommitdiff
path: root/tmux.conf
diff options
context:
space:
mode:
authorl3wdfut4pwr <l3wdfut4pwr@gmail.com>2026-06-14 19:29:33 +0300
committerl3wdfut4pwr <l3wdfut4pwr@gmail.com>2026-06-14 19:29:33 +0300
commit56082af20a8712570edd6ed523baad4755ecd241 (patch)
tree2366ad69de817a80403cdcbe5cdd48ad90106bd6 /tmux.conf
init
Diffstat (limited to 'tmux.conf')
-rw-r--r--tmux.conf108
1 files changed, 108 insertions, 0 deletions
diff --git a/tmux.conf b/tmux.conf
new file mode 100644
index 000000000..08de40332
--- /dev/null
+++ b/tmux.conf
@@ -0,0 +1,108 @@
+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'