-
Dear fzf-lua community, I am playing with fzf-lua plugin for neovim, I was wondering whether it would be possible to disable the floating window? I am looking for similar functionality to this vim command Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
I’m not sure if it’s the same as the fzf layout you mentioned but if I understand correctly you want to open in a bottom split? That’s very simple with fzf-lua, set require'fzf-lua'.setup({ winopts = { split = 'belowright new' } }) This can be tested with single commands too: :lua require'fzf-lua'.files({ winopts = { split = 'belowright new' } }) Btw if you want |
Beta Was this translation helpful? Give feedback.
I’m not sure if it’s the same as the fzf layout you mentioned but if I understand correctly you want to open in a bottom split?
That’s very simple with fzf-lua, set
winopts.split
to whatever command you want that opens a new window, for example:This can be tested with single commands too:
Btw if you want
40%
, that’s possible by using winopts as a lua function and resizing the split based on0.4*vim.o.lines
.