-
I'd really like to make it as fast as fzf.vim, thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
I apologize for what may seem as an aggressive response but it’s very hard for me to deal with “feelings”, what exactly is slower? Opening/ closing? Enumerating the file system? Typing? Speed of preview? Have you benchmarked and can tell it is slower or just a “feeling”? As long as we remain the realm of “feelings” I can’t really help you, if you are truly seeking help in this regard do some work and provide meaningful details before opening a discussion. |
Beta Was this translation helpful? Give feedback.
-
Here’s an example of a productive “slower than fzf.vim” discussion: #904 If this applies to you (the internal mapping of vim.api.nvim_create_autocmd("FileType",
{
group = vim.api.nvim_create_augroup("FzfLuaCtrlC", { clear = true }),
pattern = "fzf",
callback = function(e)
vim.keymap.set("t", "<C-c>", "<C-c>", { buffer = e.buf, silent = true })
end,
}) |
Beta Was this translation helpful? Give feedback.
Once you have a mapping for both
\f
and\fE
(or any other letter afterf
) neovim has to wait in “operator pending” mode in order to give you an option to press the next letter, when you remove the\fE
mapping neovim knows not to expect any other keypress after\f
and thus executes it immediately.