-
Hello Is there a easy way to disable filtering and just navigate trough results using j (down) k(up). unlike the default way of ctrl+j, ctrl+k ? I found this:
But not sure where to put it, or if that is what i am looking for Also, it would be cool later on, if i really need filtering, to activate it somehow.. when inside diagnostics panel Thaanks |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 1 reply
-
Once the results are displayed you’re in the realm of fzf the binary, read lua require("fzf-lua").files { keymap={fzf={j="down",k="up"}} }
You can easily do that with a keymap that unbinds lua require("fzf-lua").files { keymap={fzf={j="down",k="up",q="unbind(j)+unbind(k)"}} } You can have another key to |
Beta Was this translation helpful? Give feedback.
-
Ok, so i found somethin: "To prevent fzf from doing the filtering, we use So this works for me:
But there would be one last thing to be the selector i want.. is that input line, can i get rid of it? |
Beta Was this translation helpful? Give feedback.
-
You can set it to an empty prompt but I’m not sure if you can get rid of it completely. Perhaps you can set it to empty or to |
Beta Was this translation helpful? Give feedback.
-
No idea, the flag should be proxies as is, add |
Beta Was this translation helpful? Give feedback.
-
Ok, i finally (almost) achieved what i wanted. I had to use fzf_args to send the arguments Raw like so
And it looks pretty good as a selector: -no-info was nice to get rid of those info in the bottom right corner I mean, is like 99% perfect, the only little inconvenience would be the cursor, but eh, you can't have them all, i will mark this as resolved, thanks !! |
Beta Was this translation helpful? Give feedback.
-
Btw, the reason adding prompt = "", -- instead of `--prompt`
fzf_opts = {
["--layout"] = "reverse-list",
["--disabled"] = true,
["--no-info"] = true,
},
keymap = {
fzf = {
["j"] = "down",
["k"] = "up",
["change"] = "clear-query", -- instead of using `fzf_opts.--bind`
},
}, |
Beta Was this translation helpful? Give feedback.
Ok, i finally (almost) achieved what i wanted.
I had to use fzf_args to send the arguments Raw like so
fzf_args = "--disabled --bind='change:clear-query' --no-info --prompt ''",