tmux config

This commit is contained in:
Randy Jordan 2024-11-03 14:27:32 -06:00
parent be9c908a8c
commit 1a398da8e6
Signed by: Randy-Jordan
GPG Key ID: D57FA29E3B54663E

35
.tmux.conf Normal file
View File

@ -0,0 +1,35 @@
set-option status-style fg=white,bg=black
set-window-option -g window-status-style bg=green
set -g history-limit 10000
set -g allow-rename off
# Remap default "prefix" from Ctrl-b to Ctrl-a
set -g prefix C-a
bind C-a send-prefix
unbind C-b
# Reaload conf with r
unbind r
bind r source-file ~/.tmux.conf \; display "Reloaded ~/.tmux.conf"
# Enable mouse control (clickable windows,panes, resizable panes)
set -g mouse on
# Use vim keybindings in copy mode
setw -g mode-keys vi
# Pane Splitting
unbind v
unbind h
unbind % # Split vertically
unbind '"' # Split horizontally
bind v split-window -h -c "#{pane_current_path}"
bind h split-window -v -c "#{pane_current_path}"
# Pane navigation Alt-Arrow
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D