Replies: 2 comments 2 replies
-
:FzfLua commands
The fzf.vim compat mode is just a “kickstart”, you’re better off learning the fzf-lua way, everything can be found in the wiki/ issues, to search for a specific term: Try these and play around with ctrl-g until you get it :FzfLua grep search=foo
:FzfLua live_grep search=foo.*bar no_esc=true |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks. I did not realize that there are subcommand to |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey I am a long-time FZF.vim user trying to migrate to fzf-lua. This is my dotfiles for reference https://github.com/sluongng/dotfiles/blob/396f17d84cdb4b3fe82625b904e454e05e645991/.vimrc#L290-L334
Here are a few problems I ran into that I am not entirely sure how to solve after 30 minutes playing around and ended up reverting my dotfiles.
:Commands
is not available. In fzf.vim,:Commands
let you fuzzy search through all the commands available. From the README of fzf-lua, it seems like the lower case:commands
should be available? But I could not get it to work. This topic is a bit hard to search for becausecommands
means different things in different context... So I would appreciate any pointer/help available.:Rg
works differently. In fzf.vim, if you run:Rg foo
, it will let you fuzzy search through the grep results. This means that the entries are already narrowed down to all places containingfoo
. My usually workflow would involve searching for:Rg SomeClass
, then navigate to the result I want by fuzzy search for the file extension:.java
or.proto
. In fzf-lua, I tried the same command and it would open up the entire world and let me fuzzy search forSomeClass
. This makes it harder for me to add the file extension to the search input, the search is slower as well.Cheers.
Beta Was this translation helpful? Give feedback.
All reactions