Closed maximbaz closed 7 years ago
Not sure why but xclip only works when run in the background. Please try it with the update.
It works, awesome!
I'll just dump my feedback and thoughts in here, let me know if you want me to organize them somehow, like in different issues:
The piece send -X cancel \;
causes troubles for me, every time I press a hotkey, all I see is a message from tmux Not in a mode
. If I remove this piece from every binding, everything begins to work perfectly. Not sure what it is supposed to do 🙂 I'm on a tmux built from master
branch maybe a month ago, ArchLinux.
Definitely wrap it in a tmux plugin, this thing is awesome! Filtering with fzf is faster than copycat's way of jumping one by one between matches. Ideally I'd not have to download any binaries or put extra bindings in my .tmux.conf, except of only one line set -g @plugin 'laktak/extrakto'
🙂
Regexes could use some improvements, but this we can definitely take separately.
veee
, although this is not the end of the url.No personal experience, but I would suggest to look into tmux-plugins/tmux-example-plugin or at some of the existing plugins under tmux-plugins account.
and 4. Definitely :) But regardless, do release the plugin, the current regexes work acceptably well, if something would feel particularly annoying, I'll submit a PR :)
For future reference, here are the regexes from tmux-copycat itself:
I'll close the issue since xclip is fixed now 🙂
@maximbaz it should now work as a plugin.
And it works indeed, awesome stuff!
I think the
piping to xclip
part was forgotten in the example, and I actually cannot come up a proper syntax to do it myself... Could you help out?I want to pipe to
xclip -selection clipboard