nvim: Remove fzf select one option
Removed the default option select one, it did not do anything. Now trying with a 'default' opt for the actual plugin.
This commit is contained in:
parent
0ce49d758a
commit
2eebe047f6
1 changed files with 4 additions and 2 deletions
|
|
@ -56,7 +56,6 @@ return { -- file/item pickers and managers
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
opts = {
|
opts = {
|
||||||
fzf_opts = { ["--select-1"] = false },
|
|
||||||
keymap = {
|
keymap = {
|
||||||
builtin = {
|
builtin = {
|
||||||
true,
|
true,
|
||||||
|
|
@ -78,7 +77,10 @@ return { -- file/item pickers and managers
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}, -- FIXME: Does not seem to work with single result and still closes instantly?
|
defaults = { -- FIXME: Does not seem to work with single result and still closes instantly?
|
||||||
|
jump1 = false,
|
||||||
|
},
|
||||||
|
},
|
||||||
config = function(_, opts)
|
config = function(_, opts)
|
||||||
opts.actions = opts.actions or { true }
|
opts.actions = opts.actions or { true }
|
||||||
opts.actions["ctrl-q"] = require("fzf-lua").actions.file_sel_to_qf
|
opts.actions["ctrl-q"] = require("fzf-lua").actions.file_sel_to_qf
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue