Files
dotfiles/tmux/.mac_config
T
2026-10-14 09:55:14 +02:00

9 lines
550 B
Plaintext

set-option -g default-shell /bin/zsh
# prefix+P: paste a password from 1Password into the pane (e.g. remote sudo)
# (via run-shell: display-popup does not expand formats in its command)
bind P run-shell -b "tmux display-popup -c '#{client_name}' -E -w 80% -h 50% -T ' 1Password ' '$HOME/.tmux/op_password_paste.zsh #{pane_id} #{client_name}'"
#bind -Tcopy-mode-vi y send -X copy-pipe "pbcopy" \; display-message "copied to system clipboard"
#bind C-p run "tmux set-buffer \"$pbpaste\"; tmux paste-buffer"
#bind C-y run "tmux save-buffer - | pbcopy"