chore(tmux): normalize config
This commit is contained in:
@@ -2,7 +2,6 @@ set -g default-terminal "tmux-256color"
|
|||||||
set -ga terminal-overrides ",xterm-ghostty:RGB,xterm-256color:RGB"
|
set -ga terminal-overrides ",xterm-ghostty:RGB,xterm-256color:RGB"
|
||||||
set -ga terminal-features ",xterm-ghostty:clipboard,xterm-256color:clipboard"
|
set -ga terminal-features ",xterm-ghostty:clipboard,xterm-256color:clipboard"
|
||||||
|
|
||||||
set -g allow-passthrough on
|
|
||||||
set -g set-clipboard on
|
set -g set-clipboard on
|
||||||
|
|
||||||
set -s escape-time 0
|
set -s escape-time 0
|
||||||
@@ -10,7 +9,7 @@ set -s escape-time 0
|
|||||||
set -g update-environment "SSH_AUTH_SOCK SSH_CONNECTION SSH_TTY DISPLAY"
|
set -g update-environment "SSH_AUTH_SOCK SSH_CONNECTION SSH_TTY DISPLAY"
|
||||||
|
|
||||||
unbind C-b
|
unbind C-b
|
||||||
set-option -g prefix C-s
|
set -g prefix C-s
|
||||||
|
|
||||||
bind r source-file "$XDG_CONFIG_HOME/tmux/tmux.conf"
|
bind r source-file "$XDG_CONFIG_HOME/tmux/tmux.conf"
|
||||||
set -g base-index 1
|
set -g base-index 1
|
||||||
@@ -21,7 +20,7 @@ set -g focus-events on
|
|||||||
set -g status-style 'bg=default fg=default'
|
set -g status-style 'bg=default fg=default'
|
||||||
set -g status-left-length 20
|
set -g status-left-length 20
|
||||||
|
|
||||||
set-window-option -g mode-keys vi
|
set -wg mode-keys vi
|
||||||
bind -T copy-mode-vi v send-keys -X begin-selection
|
bind -T copy-mode-vi v send-keys -X begin-selection
|
||||||
|
|
||||||
|
|
||||||
@@ -33,16 +32,16 @@ bind h select-pane -L
|
|||||||
bind l select-pane -R
|
bind l select-pane -R
|
||||||
|
|
||||||
# sessionizer
|
# sessionizer
|
||||||
bind-key f run-shell "tmux neww ~/.config/tmux/tmux-sessionizer"
|
bind f run-shell "tmux neww ~/.config/tmux/tmux-sessionizer"
|
||||||
bind-key R run-shell "tmux neww ~/.config/tmux/tmux-sessionizer ~"
|
bind R run-shell "tmux neww ~/.config/tmux/tmux-sessionizer ~"
|
||||||
bind-key g run-shell "tmux neww ~/.config/tmux/tmux-sessionizer ~/.config"
|
bind g run-shell "tmux neww ~/.config/tmux/tmux-sessionizer ~/.config"
|
||||||
bind-key T run-shell "tmux neww ~/.config/tmux/tmux-sessionizer ~/temp"
|
bind T run-shell "tmux neww ~/.config/tmux/tmux-sessionizer ~/temp"
|
||||||
|
|
||||||
# clone
|
# clone
|
||||||
bind-key G run-shell "tmux neww ~/.config/tmux/tmux-ggclone"
|
bind G run-shell "tmux neww ~/.config/tmux/tmux-ggclone"
|
||||||
|
|
||||||
# ssh
|
# ssh
|
||||||
bind-key F run-shell "tmux neww ~/.config/tmux/tmux-ssher"
|
bind F run-shell "tmux neww ~/.config/tmux/tmux-ssher"
|
||||||
|
|
||||||
# project
|
# project
|
||||||
bind-key N run-shell "tmux neww ~/.config/tmux/tmux-new-project"
|
bind N run-shell "tmux neww ~/.config/tmux/tmux-new-project"
|
||||||
|
|||||||
Reference in New Issue
Block a user