summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrahmajit Das <listout@listout.xyz>2026-02-10 22:40:55 +0000
committerBrahmajit Das <listout@listout.xyz>2026-02-10 22:40:55 +0000
commitf21f897cf0618575bc7ac4a4fd0b8e839c59ae20 (patch)
treedf18975e47d41a5d08d35066a756f9cc7f7fd4f1
parentea62727f1f0d99b94a5f5159ec07ecdc531e8083 (diff)
downloaddots-f21f897cf0618575bc7ac4a4fd0b8e839c59ae20.tar.gz
tmux: minor improvements and updates
Also removes duplicates and pbcopy usage Signed-off-by: Brahmajit Das <listout@listout.xyz>
-rw-r--r--.tmux.conf15
1 files changed, 7 insertions, 8 deletions
diff --git a/.tmux.conf b/.tmux.conf
index 975b28e..ba4e568 100644
--- a/.tmux.conf
+++ b/.tmux.conf
@@ -32,13 +32,12 @@ bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel 'wl-copy'
bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel 'wl-copy'
bind-key -T copy-mode-vi 'r' send-keys -X rectangle-toggle
bind-key -T copy-mode-vi 'Y' send-keys -X copy-pipe-and-cancel "tmux paste-buffer"
-bind-key -T copy-mode-vi MouseDragEnd1Pane send -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy"
bind-key -T copy-mode-vi MouseDown3Pane select-pane # right mouse button (to highlight sutff)
bind-key -T copy-mode-vi MouseDrag3Pane select-pane \; send-keys -X begin-selection
unbind-key -T copy-mode-vi MouseDragEnd3Pane
# set zsh as default shell
-set -g default-command /bin/zsh
+# set -g default-command /bin/zsh
set -g default-shell /bin/zsh
set -sg escape-time 1
@@ -47,13 +46,12 @@ set -sg escape-time 1
set -g base-index 1
setw -g pane-base-index 1
-set -s default-terminal tmux-256color
-set -s terminal-overrides ''
-set -as terminal-overrides ',*:Tc'
+set -g default-terminal "tmux-256color"
+set -ga terminal-overrides ",*:Tc"
set-option -g xterm-keys on
# reload config
-bind r source-file ~/.tmux.conf \; display-message "Config reloaded..."
+bind R source-file ~/.tmux.conf \; display-message "Config reloaded..."
set -g history-limit 10000
@@ -74,8 +72,9 @@ bind -r K resize-pane -U 5
bind -r L resize-pane -R 5
# styling
-set -g status-style bg='#000000'
-set -g status-style fg='#ffffff'
+set -g status-style bg='#000000',fg='#ffffff'
+set -g pane-border-style fg='#444444'
+set -g pane-active-border-style fg='#00ff00'
# toggles status bar
bind-key -r S set-option -g status