Closed benthamite closed 1 year ago
You can set, (setq chatgpt-input-method 'minibuffer)
.
The default is window because I want to insert newline with Shift+return. I can do that easily with a self-defined major-mode. In minibuffer, there isn't a "good" way to do that (not using hackable ways), so I don't have it by default.
Apologies: I did take a look at the customization section before opening the issue but somehow missed the relevant line.
Is there a reason for using a dedicated ordinary buffer to prompt GPT rather than the minibuffer? The latter is less obtrusive, supports prompting history, and generally benefits from all the features of minibuffer completion. This is also how the similar package gpt.el does it. (I prefer this package over
gpt.el
because it is based on theopenai
Elisp library and because it supports GPT-4.)