commit 2b4fa4fff6e2c4f79a81a39644d3a596e30ad0a6
parent 11a46a567116eda005fb60b95e8e192dbedc4080
Author: Alex Balgavy <alex@balgavy.eu>
Date: Sat, 20 Feb 2021 10:26:35 +0100
tmux: explicit vi mode in command line
Diffstat:
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/tmux/tmux-dark.conf b/tmux/tmux-dark.conf
@@ -49,6 +49,9 @@ bind C-a send-prefix
bind \; command-prompt
bind : last-pane
+# Use vi-like keybindings in command prompt mode
+set -g status-keys vi
+
# Reload the config file
unbind r
bind r source-file ~/.config/tmux/tmux.conf \; display-message "Reloaded config"
diff --git a/tmux/tmux-light.conf b/tmux/tmux-light.conf
@@ -48,6 +48,9 @@ bind C-a send-prefix
bind \; command-prompt
bind : last-pane
+# Use vi-like keybindings in command prompt mode
+set -g status-keys vi
+
# Reload the config file
unbind r
bind r source-file ~/.config/tmux/tmux.conf \; display-message "Reloaded config"