From 38fb03be7a14604e303c82e308ac00811d7809ae Mon Sep 17 00:00:00 2001 From: Charles D Date: Tue, 6 Jun 2023 12:37:01 -0400 Subject: [PATCH] add keybinds for faster switching between windows --- .config/tmux/tmux.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index f15d8f7..52ae281 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -3,6 +3,8 @@ set -g escape-time 0 set -g default-terminal "screen-256color" set -g history-limit 50000 +set -g display-time 3000 +set -g status-interval 5 # Start indexes at 1 instead of 0 set -g base-index 1 @@ -17,6 +19,10 @@ set -g prefix C-a unbind C-b bind-key C-a send-prefix +# Ctrl+A, then Ctrl+C, p/n to cycle windows (faster, can just hold ctrl) +bind C-p previous-window +bind C-n next-window + # Split windows with | and - unbind % bind | split-window -h