Add tmux.conf

This commit is contained in:
Zam Kokott
2025-09-01 07:33:08 +00:00
parent ccbe352dfc
commit 986ad6299f

27
.tmux.conf Normal file
View File

@@ -0,0 +1,27 @@
# remap prefix
set-option -g prefix C-Space
unbind C-Space
bind-key C-Space send-prefix
set -g mouse on
set -g base-index 1
setw -g pane-base-index 1
set -g renumber-windows on
# split panes
bind / split-window -hc "#{pane_current_path}"
bind - split-window -vc "#{pane_current_path}"
bind c new-window
bind -r "<" swap-window -d -t -1
bind -r ">" swap-window -d -t +1
bind r source-file ~/.tmux.conf
bind -n C-h select-pane -L
bind -n C-j select-pane -D
bind -n C-k select-pane -U
bind -n C-l select-pane -R