60 lines
1.4 KiB
Bash
60 lines
1.4 KiB
Bash
##### PREFIX ##############################################################
|
|
|
|
unbind C-b
|
|
set -g prefix C-a
|
|
bind C-a send-prefix
|
|
|
|
##### GENERAL #############################################################
|
|
|
|
set -g mouse on
|
|
set -g history-limit 100000
|
|
|
|
set -g base-index 1
|
|
setw -g pane-base-index 1
|
|
set -g renumber-windows on
|
|
|
|
setw -g mode-keys vi
|
|
|
|
set -sg escape-time 0
|
|
|
|
set -g default-terminal "screen-256color"
|
|
|
|
##### SPLITS ##############################################################
|
|
|
|
unbind '"'
|
|
unbind %
|
|
|
|
bind | split-window -h
|
|
bind - split-window -v
|
|
|
|
##### NAVIGATION ##########################################################
|
|
|
|
bind h select-pane -L
|
|
bind j select-pane -D
|
|
bind k select-pane -U
|
|
bind l select-pane -R
|
|
|
|
##### RELOAD ##############################################################
|
|
|
|
bind r source-file ~/.tmux.conf \; display-message "tmux.conf neu geladen"
|
|
|
|
##### RESURRECT ###########################################################
|
|
|
|
set -g @continuum-restore 'on'
|
|
set -g @continuum-save-interval '15'
|
|
|
|
##### CATPPUCCIN ##########################################################
|
|
|
|
set -g @catppuccin_flavour "mocha"
|
|
|
|
##### 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-resurrect'
|
|
set -g @plugin 'tmux-plugins/tmux-continuum'
|
|
set -g @plugin 'catppuccin/tmux'
|
|
|
|
run '~/.tmux/plugins/tpm/tpm'
|