🚀 perf(tgpt): use multiline instead of interactive

This commit is contained in:
Sergio Laín 2023-11-24 13:03:46 +01:00
parent 1ec4b4d61c
commit be99c89560
No known key found for this signature in database
GPG key ID: 14C9B8080681777B
3 changed files with 3 additions and 4 deletions

View file

@ -1,4 +1,3 @@
function gpt --wraps='tgpt -i' --description 'alias gpt=tgpt -i' function gpt --wraps='tgpt -i' --description 'alias gpt=tgpt -i'
tgpt -i $argv tgpt $argv
end end

View file

@ -17,7 +17,7 @@ command = "kitty --class scratchpad yazi"
lazy = true lazy = true
[scratchpads.gpt] [scratchpads.gpt]
command = "kitty --class scratchpad tgpt -i" command = "kitty --class scratchpad tgpt -m"
lazy = true lazy = true
[scratchpads.dots] [scratchpads.dots]

View file

@ -96,7 +96,7 @@ return {
keys = { keys = {
{ {
"<leader>CT", "<leader>CT",
"<cmd>FloatermNew --name=gpt --opener=edit --titleposition=center --width=0.85 --height=0.85 gpt<CR>", "<cmd>FloatermNew --name=gpt --opener=edit --titleposition=center --width=0.85 --height=0.85 gpt -m<CR>",
desc = "Terminal GPT", desc = "Terminal GPT",
}, },
}, },