Skip to content

Commit 2536baa

Browse files
committed
Update tmux pane border colors to use grayscale instead of magenta and add clip function for clipboard operations
1 parent 84c66ff commit 2536baa

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.tmux.conf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,12 @@ set -g status-left-length 20
6565
set -g status-right 20
6666
set -g display-panes-colour colour233
6767
set -g display-panes-active-colour colour245
68-
set -g pane-active-border-style "bg=default fg=magenta"
6968
set -g clock-mode-colour colour39
7069
set -g clock-mode-style 24
7170

71+
set -g pane-border-style "bg=default fg=colour235" # Inactive: slightly lighter than bg
72+
set -g pane-active-border-style "bg=default fg=colour245" # Active: much brighter gray
73+
7274
# List of plugins
7375
set -g @plugin 'tmux-plugins/tpm'
7476
set -g @plugin 'tmux-plugins/tmux-sensible'

.zshrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -618,6 +618,11 @@ randomize() {
618618
done
619619
}
620620

621+
# pastes when used as a source, copies when used as a destination, like `clip | jq | clip`
622+
clip () {
623+
[ -t 0 ] && pbpaste || pbcopy
624+
}
625+
621626
quote-clipboard() {
622627
local content=$(pbpaste)
623628

0 commit comments

Comments
 (0)