kAdd tmux.conf to sundry

This commit is contained in:
Orien Vandenbergh 2024-04-04 09:52:47 -05:00
parent 63d2c226b5
commit a53180a241

35
tmux.conf Normal file
View File

@ -0,0 +1,35 @@
# Change keybinding from C-b to C-a (screenlike)
unbind C-b
set-option -g prefix C-a
bind a send-prefix
# Change previous window binding from l to C-a (screenlike)
unbind l
bind C-a last-window
# Reload configs for faster config testing
bind r source-file ~/.tmux.conf
# start numbering windows at 1
set -g base-index 1
set-window-option -g pane-base-index 1
set-window-option -g automatic-rename on
set-option -g set-titles on
set -g default-terminal screen-256color
set -g status-keys vi
set -g history-limit 1000
setw -g mode-keys vi
setw -g mouse on
setw -g monitor-activity on
# Don't insert a delay before sending escape
set -sg escape-time 0
# Bind Alt-<vi arrow) to pane switching
bind -n M-h select-pane -L
bind -n M-j select-pane -D
bind -n M-k select-pane -U
bind -n M-l select-pane -R