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

:open: dosen't work

Open yueyihui opened this issue 3 years ago • 2 comments

when i do fingers-ctrl-action, it print erros as below:

'printf "src/IMDB/src/db_module.cpp" | MODIFIER=ctrl HINT=f xargs xdg-open' returned 123

tmux version: tmux next-3.3 bash version: GNU bash, version 4.3.48(1)-release (x86_64-pc-linux-gnu) gawk version: GNU Awk 4.1.3, API: 1.1 (GNU MPFR 3.1.4, GNU MP 6.1.0)

yueyihui avatar May 27 '21 09:05 yueyihui

I tried, below code can solve the issue.

tmux run-shell -b "printf "$(escape_quotes "${state[final_result]}")" | xargs -I {} tmux send-keys 'vim -- {}'; tmux send-keys 'C-m'"

yueyihui avatar May 28 '21 09:05 yueyihui

I'm having the same problem, the problem is related to relative and absolute path if it is absolute it works and if it is relative if will fail

atomsfat avatar Jul 06 '21 22:07 atomsfat

relative paths should work now in latest version

Morantron avatar Sep 27 '23 14:09 Morantron