add copilot
change chatgpt input from C-CR to C-s (otherwise trapped by Windows terminal)
This commit is contained in:
parent
81bfbf81a5
commit
b341a42762
2 changed files with 5 additions and 0 deletions
|
|
@ -4,6 +4,10 @@ return {
|
|||
config = function()
|
||||
require('chatgpt').setup {
|
||||
-- this config assumes you have OPENAI_API_KEY environment variable set
|
||||
popup_input = {
|
||||
submit = '<C-s>',
|
||||
},
|
||||
|
||||
openai_params = {
|
||||
-- NOTE: model can be a function returning the model name
|
||||
-- this is useful if you want to change the model on the fly
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue