dottmux/tmux.conf

26 lines
633 B
Plaintext
Raw Normal View History

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