From d45eb9f759f99b8521757d383654a60c6629f1a4 Mon Sep 17 00:00:00 2001 From: Randy Jordan Date: Sat, 22 Mar 2025 17:42:11 -0500 Subject: [PATCH] Added tmux conf --- .tmux.conf | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .tmux.conf diff --git a/.tmux.conf b/.tmux.conf new file mode 100644 index 0000000..d6b4d0d --- /dev/null +++ b/.tmux.conf @@ -0,0 +1,34 @@ +set-option -g status-style fg=white,bg=black +set-window-option -g window-status-style bg=green +set -g history-limit 10000 + +# 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