Visual line mode and no auto-fill with ChatGPT

This commit is contained in:
larstvei 2023-07-28 01:29:25 -07:00
parent a71c4f62f3
commit eb20c2438e

View File

@ -1255,7 +1255,8 @@
;; Interaction mode for ChatGPT
(use-package gptel
:defer t
:hook (gptel-mode . visual-line-mode)
:hook ((gptel-mode . (lambda () (visual-line-mode 1)))
(gptel-mode . (lambda () (auto-fill-mode 0))))
:init
(setq gptel-default-mode 'org-mode
gptel-model "gpt-4"