fix(fzf): floating previewer closed fail (#3638)

- floating previewer closed fail.
https://github.com/LazyVim/LazyVim/issues/3582

Co-authored-by: 肖健正 <xiaojianzheng@qq.com>
This commit is contained in:
xiaojianzheng
2024-06-14 14:24:14 +08:00
committed by GitHub
parent 7bebc40333
commit 427e57ddf7

View File

@ -155,7 +155,7 @@ return {
require("fzf-lua").register_ui_select(opts.ui_select or nil)
end,
keys = {
{ "<esc>", "<cmd>close<cr>", ft = "fzf", mode = "t", nowait = true },
{ "<esc>", "<esc>", ft = "fzf", mode = "t", nowait = true },
{ "<c-j>", "<Down>", ft = "fzf", mode = "t", nowait = true },
{ "<c-k>", "<Up>", ft = "fzf", mode = "t", nowait = true },
{