Update '.tmux.conf'

This commit is contained in:
2023-05-01 02:08:52 +02:00
parent e7c7a5e111
commit 3736944ce4

View File

@@ -1,9 +1,9 @@
# tmux theme # tmux theme
set-option -g status-position top
source-file "${XDG_CONFIG_HOME}/tmux/tmux.theme" source-file "${XDG_CONFIG_HOME}/tmux/tmux.theme"
# default shell # default shell
set-option -g default-shell /bin/zsh set-option -g default-shell /bin/zsh
set-option -g status-position top
# Remap prefix from 'C-b' to 'C-a' # Remap prefix from 'C-b' to 'C-a'
unbind C-b unbind C-b
@@ -42,11 +42,6 @@ bind -r L resize-pane -R 5
# Enable mouse control (clickable windows, panes, resizable panes) # Enable mouse control (clickable windows, panes, resizable panes)
set -g mouse on set -g mouse on
# Fix numbering for easy switching
set -g base-index 1
setw -g pane-base-index 1
set -g renumber-windows on
# Timeout for display messages (in milliseconds) # Timeout for display messages (in milliseconds)
set -g display-time 1000 set -g display-time 1000
@@ -58,5 +53,10 @@ set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
bind -T copy-mode C-c send -X copy-pipe-no-clear "xclip -sel clip" bind -T copy-mode C-c send -X copy-pipe-no-clear "xclip -sel clip"
bind -T copy-mode-vi C-c send -X copy-pipe-no-clear "xclip -sel clip" bind -T copy-mode-vi C-c send -X copy-pipe-no-clear "xclip -sel clip"
# Fix numbering for easy switching
set -g base-index 1
setw -g pane-base-index 1
set -g renumber-windows on
## init tpm ## init tpm
run ${XDG_CONFIG_HOME}/tmux/plugins/tpm/tpm run ${XDG_CONFIG_HOME}/tmux/plugins/tpm/tpm