diff options
| author | Brahmajit Das <listout@listout.xyz> | 2026-02-10 22:40:55 +0000 |
|---|---|---|
| committer | Brahmajit Das <listout@listout.xyz> | 2026-02-10 22:40:55 +0000 |
| commit | f21f897cf0618575bc7ac4a4fd0b8e839c59ae20 (patch) | |
| tree | df18975e47d41a5d08d35066a756f9cc7f7fd4f1 | |
| parent | ea62727f1f0d99b94a5f5159ec07ecdc531e8083 (diff) | |
| download | dots-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.conf | 15 |
1 files changed, 7 insertions, 8 deletions
@@ -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 |
