diff --git a/.tmux.conf b/.tmux.conf index cd82e4b..de309e6 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -28,6 +28,9 @@ unbind -T copy-mode-vi MouseDragEnd1Pane unbind % bind | split-window -h -c '#{pane_current_path}' +# Set base index to 1 +set -g base-index 1 +setw -g pane-base-index 1 # Set kill pane to Shift + Option + X bind -n M-X kill-pane @@ -36,6 +39,9 @@ bind -n M-X kill-pane unbind '"' bind - split-window -v -c '#{pane_current_path}' +unbind 'C' +bind C attach-session -c "#{pane_current_path}" + # Setting up window movement with leader key + Left/Right arrow bind Left swap-window -t -1\; select-window -t -1 bind Right swap-window -t +1\; select-window -t +1