From eb20c2438e0ae9234b9779bb0fe95bbcd938d819 Mon Sep 17 00:00:00 2001 From: larstvei Date: Fri, 28 Jul 2023 01:29:25 -0700 Subject: [PATCH] Visual line mode and no auto-fill with ChatGPT --- init.org | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.org b/init.org index a628699..c484fa4 100644 --- a/init.org +++ b/init.org @@ -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"