summaryrefslogtreecommitdiff
path: root/tmux
diff options
context:
space:
mode:
authorseraphim <18ycm9tx@anonaddy.me>2026-08-08 17:21:01 +0700
committerseraphim <18ycm9tx@anonaddy.me>2026-08-08 17:21:01 +0700
commit1e3def5c7832572877a0f41432bab5655ea4f6bf (patch)
treec2041405fd4dc88e70d389c0e705592857dd5598 /tmux
parente3f90f0362007e01a11addc1cd049c44bf00a70e (diff)
upd
Diffstat (limited to 'tmux')
-rw-r--r--tmux/.config/tmux/tmux.conf (renamed from tmux/.tmux.conf)29
1 files changed, 26 insertions, 3 deletions
diff --git a/tmux/.tmux.conf b/tmux/.config/tmux/tmux.conf
index c68b67e..e4de091 100644
--- a/tmux/.tmux.conf
+++ b/tmux/.config/tmux/tmux.conf
@@ -1,3 +1,27 @@
+# Enable 256 color support
+set -g default-terminal "tmux-256color"
+set -ga terminal-overrides ",*:RGB"
+
+# Enable mouse support
+set -g mouse on
+
+# Enable clipboard
+set -g set-clipboard on
+# Change prefix from Ctrl-b to Ctrl-a
+unbind C-b
+set -g prefix C-a
+bind-key C-a send-prefix
+
+# Vim-style pane navigation
+bind h select-pane -L
+bind j select-pane -D
+bind k select-pane -U
+bind l select-pane -R
+
+# Split windows (opens in same directory)
+unbind %
+bind | split-window -h -c "#{pane_current_path}"
+
unbind '"'
bind - split-window -v -c "#{pane_current_path}"
@@ -33,9 +57,6 @@ set -g status-right "#[fg=${thm_blue},bg=${thm_bg},nobold,nounderscore,noitalics
# Statusline - left side (empty)
set -g status-left ""
-# Modes
-set -g clock-mode-colour "${thm_blue}"
-set -g mode-style "fg=${thm_blue} bg=${thm_black4} bold"
# Change from 0 based to 1 based because keyboard layout
set -g base-index 1
set -g pane-base-index 1
@@ -49,3 +70,5 @@ bind-key -T copy-mode-vi C-v send-keys -X rectangle-toggle
bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
unbind -T copy-mode-vi MouseDragEnd1Pane
+
+