Create simple tmux config

This commit is contained in:
Jake Bauer 2023-11-24 23:25:55 +01:00
parent 264a035c9c
commit 792138367c
1 changed files with 27 additions and 0 deletions

27
.tmux.conf Normal file
View File

@ -0,0 +1,27 @@
set -g history-limit 100000
set -g mouse on
set -g default-shell $SHELL
# Reloading config on the fly
unbind r
bind r source-file ~/.tmux.conf \; display "Configuration reloaded."
# Create panes more easily
unbind %
unbind '"'
bind % split-window -h -c "#{pane_current_path}"
bind '"' split-window -v -c "#{pane_current_path}"
# Navigate panes more easily
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# Control windows more easily
unbind n
unbind w
bind n command-prompt "rename-window '%%'"
bind w new-window -c "#{pane_current_path}"
set -g base-index 1
set-window-option -g pane-base-index 1