aboutsummaryrefslogtreecommitdiff
path: root/tmux
diff options
context:
space:
mode:
authorSergii Tykhomyrov <sergii@tykhomyrov.net>2026-08-03 21:22:08 +0200
committerSergii Tykhomyrov <sergii@tykhomyrov.net>2026-08-03 21:22:08 +0200
commit492ea6ba65acc9989474b8f3513c8c7e0d881a71 (patch)
tree7ebeeb1f957fcf010a59fd49ea7b04a12bbc4b07 /tmux
downloaddotfiles-492ea6ba65acc9989474b8f3513c8c7e0d881a71.tar.gz
dotfiles-492ea6ba65acc9989474b8f3513c8c7e0d881a71.zip
Add editorconfig, tmux, and NeoVim configs
Managed with GNU Stow. Run 'stow editorconfig tmux nvim' to install. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KYrzpJevCUUqP6pFyJHmB4
Diffstat (limited to 'tmux')
-rw-r--r--tmux/.config/tmux/tmux.conf25
1 files changed, 25 insertions, 0 deletions
diff --git a/tmux/.config/tmux/tmux.conf b/tmux/.config/tmux/tmux.conf
new file mode 100644
index 0000000..c5e339c
--- /dev/null
+++ b/tmux/.config/tmux/tmux.conf
@@ -0,0 +1,25 @@
+# True color and fast Esc for NeoVim
+set -g default-terminal "tmux-256color"
+set -as terminal-features ",*:RGB"
+set -sg escape-time 10
+set -g focus-events on
+
+set-option -g prefix M-m
+unbind-key C-b
+bind-key M-m send-prefix
+
+set -g base-index 1
+set -g pane-base-index 1
+
+# Alt+1..5: switch to window without prefix
+bind -n M-1 select-window -t 1
+bind -n M-2 select-window -t 2
+bind -n M-3 select-window -t 3
+bind -n M-4 select-window -t 4
+bind -n M-5 select-window -t 5
+
+set -g status-left ""
+set -g status-right ""
+# Pseudo shadow: one step darker than the terminal background (#2E3436)
+set -g status-style bg=#272c2e,fg=colour244
+set -g window-status-current-style fg=colour250,bold