nixpkgs/home/programs/neovim/plugins/fzf-lua.lua
Daniel Siepmann cee10964f0
Replace neovim telescope with fzf
I've added fzf to zsh and don't want to have multiple different
solutions for same problem.
I therefore use fzf-lua within neovim which replaces telescope.
2023-03-02 13:25:23 +01:00

17 lines
354 B
Lua

require("fzf-lua").setup({
fzf_bin = "fzf-tmux",
fzf_tmux_opts = {
["-p"] = "",
["-y"] = "1",
["-w"] = "95%",
["-h"] = "75%",
},
winopts = {
preview = {
hidden = "hidden", -- I don't like a preview, keep space for selection
},
},
})
require("fzf-lua").register_ui_select()