diff --git a/.tmux.conf b/.tmux.conf index 86f52f0..22641c6 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -4,7 +4,7 @@ set-option -sa terminal-features ',xterm-kitty:RGB' set-option -sg escape-time 10 set-option -g focus-events on set-window-option -g mode-keys vi - +set-option -g renumber-windows on # Key Bindings # Auto Source tmux.conf unbind r @@ -27,6 +27,10 @@ bind | split-window -h -c '#{pane_current_path}' unbind '"' bind - split-window -v -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 + # Setting up pane resize with hjkl bind -r j resize-pane -D 5 bind -r k resize-pane -U 5