tmux-yank
tmux-yank copied to clipboard
how i stop it always returning to the command prompt?
when im copying during scrolling back, it's always jumping back the the command prompt after exiting copy mode
how can i make it default to the CTRL+G ? without jumping back the commands?
You can put set -g @yank_action 'copy-pipe' in your config file. Make sure it's before the run '~/.tmux/plugins/tpm/tpm' line if you installed with TPM, or run-shell ~/clone/path/yank.tmux if you installed manually.
legend thank you :pray:
I killed tmux and restarted with this setting but it still doesn't work. Using Alacritty with tmux 3.5. Yanking with y still brings the cursor back to the command prompt
I killed tmux and restarted with this setting but it still doesn't work. Using Alacritty with tmux 3.5. Yanking with
ystill brings the cursor back to the command prompt
Have you tried again after rebooting? Maybe you only closed a tmux session but the daemon kept running.
If it still won't work, try commenting out every other config and only having tmux-yank enabled; with set -g @yank_action 'copy-pipe' on the first line of the config file. (and reboot again) Maybe we can zero-in what is causing the problem.
Also, what OS version are you on? Will make it easier for me to reproduce.
Is there anyway for it to copy the text, not move back to command but stop highlighting the text? So like I can just quickly scroll back and highlight something let go of the drag and it stop highlighting put in the clipboard but don’t return the cursor to command line? So far, I only achieved a highlight that just keeps highlighting and doesn’t stop highlighting when I let go of the mouse