You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have created a file named "myfzf.lua" under ~/.config/nvim/lua/config,but when I use grep_cword(),there is a pop window,I press F1,but I can not find my key-bindings.
Another option is there’s another call to setup (maybe lazy.nvim opts?) overriding your setup, you can try opening myfzf.lua and run :so % to source the file again (you can run setup multiple times) and then run FzfLua and check if it worked?
Thanks for the rapid reply agin!
I tried :FzfLua live_grep previewer=bat and press 'F1', the keymaps shows.
And then, I added this keybinds to builtin.and It shows.
It doesn't work as the same. But when I press 'F4',the toggle-preview can work.
Another option is there’s another call to setup (maybe lazy.nvim opts?) overriding your setup, you can try opening myfzf.lua and run :so % to source the file again (you can run setup multiple times) and then run FzfLua and check if it worked?
I also tried this. The 'hello world" print,but the keybinds not work.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have created a file named "myfzf.lua" under
~/.config/nvim/lua/config
,but when I use grep_cword(),there is a pop window,I press F1,but I can not find my key-bindings.~/.config/nvim/lua/config/myfzf.lua require("fzf-lua").setup({ -- Neovim keymaps / fzf binds keymap = { builtin = { true, }, fzf = { true, alt-p"] = "toggle-preview", }, }, })
Beta Was this translation helpful? Give feedback.
All reactions