Closed mrwensim closed 1 year ago
set-buffer or load-buffer
Thanks for your answer.
I tried set-buffer
along with the -w
option, it works.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Issue description
Hi,
I'm trying to copy current working directory path on a remote server to my system clipboard.
I've followed this clipboard guide and manage to copy text from tmux on remote server to my system clipboard with the OSC 52 way.
For further customization, I want to add a shortcut key to copy current working directory path on a remote server to my system clipboard too.
I can get the path with
tmux display -p -F "#{pane_current_path}"
, but how can I send this text to the tmux clipboard?Required information
Please provide the following information:
tmux -V
). tmux 3.3auname -sp
). Darwin armecho $TERM
). inside tmux: screen-256color-italic outside tmux: alacritty