summaryrefslogtreecommitdiff
path: root/.config/tmux/tmux.conf
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-11-01 19:34:07 +0100
committerThomas Voss <mail@thomasvoss.com> 2023-11-01 19:34:29 +0100
commit94b498a06a8905dfede297a2eb7a7c40ed224ad7 (patch)
tree0920ce06064e56a71568182ab2304503233c44f3 /.config/tmux/tmux.conf
parent75e6d9446c92acd6f4b38b23f716a28b6a33bef2 (diff)
tmux: Various changes
Diffstat (limited to '.config/tmux/tmux.conf')
-rw-r--r--.config/tmux/tmux.conf18
1 files changed, 11 insertions, 7 deletions
diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf
index b950558..c3d6788 100644
--- a/.config/tmux/tmux.conf
+++ b/.config/tmux/tmux.conf
@@ -18,18 +18,22 @@ set -g status-left-length 64
# Make colors appear properly
set -g default-terminal 'xterm-256color'
-set-option -ga terminal-overrides ',xterm-256color:Tc'
+set -ga terminal-overrides ',xterm-256color:Tc'
# Removes the need for numbers by the window names
-set-option -g renumber-windows on
+set -g renumber-windows on
# Change the prefix
-set-option -g prefix C-Space
-unbind-key C-b
-bind-key C-Space send-prefix
+set -g prefix C-Space
+unbind C-b
+bind C-Space send-prefix
# Make killing the whole thing easier
-bind-key q kill-session
+bind q kill-session
# No reason not to do this
-set-option -g mouse on
+set -g mouse on
+
+# Quickly switch windows
+bind -n C-w previous-window
+bind -n C-e next-window