This commit is contained in:
Alex Yatskov 2024-04-16 22:29:55 -07:00
parent 0b2b072fe2
commit 4d22d6a375

View File

@ -1,25 +1,17 @@
# easy reload config
bind-key C-r source-file ~/.tmux.conf \; display-message "~/.tmux.conf reloaded."
bind-key r source-file "~/.tmux.conf"
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
bind-key space last-pane
bind-key s split-window
bind-key v split-window -h
# C-b is not acceptable -- Vim uses it
set-option -g prefix C-q
bind-key C-q send-prefix
# Set window split
bind-key C-v split-window -h
bind-key C-s split-window
# Allows us to use C-q q <command> to send commands to a TMUX session inside
# another TMUX session
bind-key q send-prefix
# hjkl pane traversal
bind C-h select-pane -L
bind C-j select-pane -D
bind C-k select-pane -U
bind C-l select-pane -R
set -g default-terminal "xterm-256color"'
set -ga terminal-overrides ",xterm-256color:Tc"'
# Vi copypaste mode
set-window-option -g mode-keys vi
set-option -g mouse on
set-option -ga terminal-overrides ",*256col*:Tc"
set-option -g default-terminal "tmux-256color"