From 55d238f2d96ba350cee079b5ea88913675f2d134 Mon Sep 17 00:00:00 2001 From: Tobias Ostner Date: Fri, 14 Jul 2023 08:42:20 +0200 Subject: [PATCH] Install cape --- .emacs.d/init.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 16d700d..8ab84a6 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -54,6 +54,12 @@ ("C-:" . avy-goto-char) ("M-g f" . avy-goto-line))) +(use-package cape + :init + (add-to-list 'completion-at-point-functions #'cape-dabbrev) + (add-to-list 'completion-at-point-functions #'cape-file) + (add-to-list 'completion-at-point-functions #'cape-history)) + (use-package chatgpt-shell :config (setq chatgpt-shell-openai-key