tmux-fingers icon indicating copy to clipboard operation
tmux-fingers copied to clipboard

xdg-open is not working as expected

Open lrustand opened this issue 2 years ago • 0 comments

When using tmux-fingers to open files it does not open the correct application. I have setup xdg-open to open vim for plaintext files and this works correctly when I run xdg-open somefile.txt, but when I try to open the same file from tmux-fingers it opens in the browser. I see that the actual command executed by tmux-fingers is printf "somefile.txt" | MODIFIER=ctrl HINT=v xargs xdg-open. This command also does what it is supposed to when I run it on the command line manually, but apparently not when tmux-fingers runs it.

lrustand avatar Mar 18 '22 12:03 lrustand