diff --git a/.tmux.conf b/.tmux.conf index 3018ae0..6485f24 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -1,10 +1,14 @@ # Force colors for e.g. prompt set-option -g default-terminal "screen-256color" -# Mirror prefix Left to prefix j for switching pane left +# Mirror prefix+(Up|Down|Left|Right) to prefix prefix+(i|k|j|l) for switching panes +bind-key -r i select-pane -U +bind-key -r k select-pane -D bind-key -r j select-pane -L -# Mirror prefix Right to prefix k for switching pane right -bind-key -r k select-pane -R +bind-key -r l select-pane -R + +# Faster repeat time +set-option -g repeat-time 300 # Exit parent process when detaching from tmux bind-key d detach-client -P