We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 109d75d commit 46a0df7Copy full SHA for 46a0df7
lua/fzf-lua/actions.lua
@@ -1078,6 +1078,10 @@ M.complete = function(selected, opts)
1078
newline = line:sub(1, col) .. selected[1] .. after
1079
newcol = col + #selected[1]
1080
end
1081
+ if opts.__CTX.mode == "t" and vim.bo[opts.__CTX.bufnr].buftype == "terminal" then
1082
+ vim.api.nvim_chan_send(vim.bo.channel, newline)
1083
+ return
1084
+ end
1085
vim.api.nvim_set_current_line(newline or opts.__CTX.line)
1086
vim.api.nvim_win_set_cursor(0, { opts.__CTX.cursor[1], newcol or col })
1087
if opts.__CTX.mode == "i" then
0 commit comments