Open matan-arkin opened 3 years ago
Hmmm... It should work with prefix + shift F. Did you try to verify the prefix is right?
What about directly run the script?
$ tmux run-shell -b ~/.tmux/plugins/tmux-fzf/main.sh
I did. The prefix works for other things. For the moment, looks like I found a different work around. Thanks anyway!
On Sun, Feb 21, 2021 at 1:58 PM wantyapps notifications@github.com wrote:
Hmmm... It should work with + F. Did you try to verify the prefix is right?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sainnhe/tmux-fzf/issues/34#issuecomment-782846019, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACSVZT6GMR5XIIYBXXYSB5LTADYNTANCNFSM4X6ZPVPQ .
Cool!
What is the workaround?
Not using tmux-fzf. I might've misunderstood the purpose of tmux-fzf, but I thought it was necessary for using tmux and fzf simultaneously. Looks like that's not the case and I'm able to activate fzf from a tmux session without tmux-fzf.
On Sun, Feb 21, 2021 at 2:32 PM wantyapps notifications@github.com wrote:
What is the workaround?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sainnhe/tmux-fzf/issues/34#issuecomment-782850550, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACSVZT3RWO5BQTWLYE7WFQ3TAD4O3ANCNFSM4X6ZPVPQ .
It is not. Tmux-fzf's propose is to use fzf as a tmux manager (To switch sessions, create windows etc. Look at README.md)
BTW: If you just want to use fzf within TMUX, just run fzf in the terminal like you would without TMUX.
Thanks!! And sorry for confusion.
On Sun, Feb 21, 2021 at 2:43 PM wantyapps notifications@github.com wrote:
BTW: If you just want to use fzf within TMUX, just run fzf in the terminal like you would without TMUX.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sainnhe/tmux-fzf/issues/34#issuecomment-782852014, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACSVZTYBBO4JWSXWHMW5WZ3TAD5YPANCNFSM4X6ZPVPQ .
Hi,
not working with zsh
or in tmux@3.1c
? last release of tmux in brew is 3.1c
🤔
prefix + F isnt working for me as well . Any idea on this ?
@jlobos @neerajbadlani
As I said above, you can try to directly run this script and see if there is any output.
$ tmux run-shell -b ~/.tmux/plugins/tmux-fzf/main.sh
Now it work for me 👍
@jlobos @neerajbadlani
As I said above, you can try to directly run this script and see if there is any output.
$ tmux run-shell -b ~/.tmux/plugins/tmux-fzf/main.sh
Hi @sainnhe , No output for me . [master:configfiles] tmux run-shell -b ~/.tmux/plugins/tmux-fzf/main.sh [master:configfiles] [master:configfiles] file ~/.tmux/plugins/tmux-fzf/main.sh /Users/nebadlan/.tmux/plugins/tmux-fzf/main.sh: Bourne-Again shell script text executable, ASCII text
@neerajbadlani What about this command?
$ ls | ~/.tmux/plugins/tmux-fzf/scripts/.fzf-tmux
@sainnhe Above is working
@neerajbadlani Could you share your configuration? Including .tmux.conf, .bashrc or related shrc.
Or maybe minimal configuration that can reproduce this bug, or maybe your dotfiles repo.
@sainnhe , my dotfiles repo , bashrc , tmux.conf is quite big and broken into multiple files . Is there some specific config that you are thinking of that could cause this issue , I can incrementally remove the configs to see which would make it work .
@neerajbadlani Maybe it's caused by $FZF_DEFAULT_OPTS, I'm not sure.
You can try to comment out unrelated config in your shrc and see if there is any possibility to provide a minimal shrc or .tmux.conf that can reproduce this bug.
Update : I realized my fzf-tmux wasnt working with -p and other options mentioned in .envs file . After investigation , looks like tmux updated options to popup . After pulling in new changes , fzf-tmux works . But still tmux-fzf isnt working .
After updating binary .fzf-tmux inside the project with the updated system-binary , it finally works .
I can still see preview though even though i added config inside tmux.conf
@neerajbadlani Since the version of fzf is very different in different distros, I can't directly use the system wide fzf-tmux
executable, so I have to copy the script from upstream.
I just updated it via e43f162.
Found a fix! If people don't have fzf installed, the plugin will not work. Try installing fzf
For me this happened after I updated tmux recently. I solved it by updating tmux-fzf
via tpm
(prefix
+ U (uppercase!))
Keybind doesn't work for me too. Workaround as bind F run-shell -b ~/.tmux/plugins/tmux-fzf/main.sh
I tried @wantyapps solution, it works on my mac now.
~/.tmux/plugins/tmux-fzf/scripts/.fzf-tmux
fzf executable not found
Then you need to install fzf with whatever tools you like,
brew install fzf
bingo
For me this happened after I updated tmux recently. I solved it by updating
tmux-fzf
viatpm
(prefix
+ U (uppercase!))
save my a**
Running the script directly through tmux
:
tmux run-shell -b ~/.tmux/plugins/tmux-fzf/main.sh
No output.
\ Running the script like so:
ls | ~/.tmux/plugins/tmux-fzf/scripts/.fzf-tmux
Output was correct.
\
To fix the issue I executed tmux kill-server && tmux || tmux
to basically restart the tmux server, now it all works fine.
Hi,
I just followed the instructions to install tmux-fzf using TPM. To the best of my knowledge, all requirements are satisfied. I'm running Ubuntu 16. When I ran tmux run-shell -b 'command -v fzf', I got no ouput (but also no error). Not sure if that's the expected behavior.
When I press, then Ctrl+F (shift f), nothing happens.
How should I proceed?
Thanks!