commit 826838cc9c139a8f9568a8d7312cf38b3496d516
parent 7fd73b65d7d107aebf0f327777d0ce93cb135d9f
Author: Chris Bracken <chris@bracken.jp>
Date: Fri, 24 May 2024 23:29:54 -0700
tmux: reformat comments consistently
Start with a capital and end with a period.
Diffstat:
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf
@@ -1,6 +1,6 @@
# .tmux.conf
-# reduce escape time from 500 to 10ms for better behaviour in vim.
+# Reduce escape time from 500 to 10ms for better behaviour in vim.
set-option -sg escape-time 10
# 256 colour terminal, underscore, undercurl.
@@ -11,7 +11,7 @@ set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{25
# Enable focus events if supported by the terminal.
set-option -g focus-events on
-# keybindings.
+# Movement key bindings.
set-window-option -g mode-keys vi
set-option -g status-keys vi
bind-key h select-pane -L
@@ -19,15 +19,17 @@ bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
bind-key ? list-keys
+
+# Selection key bindings.
bind-key -T copy-mode-vi 'v' send-keys -X begin-selection
bind-key -T copy-mode-vi 'y' send-keys -X copy-selection
bind-key -T copy-mode-vi 'r' send-keys -X rectangle-toggle
-# frequently used layouts.
+# Frequently used layouts.
bind-key -T prefix ^ split-window -h\; split-window -v\; select-pane -U\; select-pane -L
bind-key -T prefix \\ split-window -h\; split-window -h\; select-layout even-horizontal\; select-pane -L
-# disable mouse.
+# Disable mouse.
set-option -g mouse off
# Disable automatic window renaming.