nvim: Fix path completing on insert mode return

When hitting return in insert mode we would enter a path completion.
With this change the completion is moved from <c-m> (i.e. return) to
<c-t>.
This commit is contained in:
Marty Oehme 2025-06-19 21:09:23 +02:00
parent 90f3add4db
commit 8f15fb404a
Signed by: Marty
GPG key ID: 4E535BC19C61886E

View file

@ -207,8 +207,8 @@ return { -- file/item pickers and managers
end, end,
desc = "path complete", desc = "path complete",
}, },
{ -- TODO: Does it work reliably in various circumstances? {
"<c-m>", "<c-t>",
function() function()
require("fzf-lua").complete_path() require("fzf-lua").complete_path()
end, end,