Commit 2e6de4d15fd4ae99dd3408f66db37c8a050f5471

Thomas de Grivel 2023-03-29T23:47:25

chat-gpt

diff --git a/.emacs b/.emacs
index 2b0c7e1..738adb5 100644
--- a/.emacs
+++ b/.emacs
@@ -6,7 +6,7 @@
 (add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/") t)
 (package-initialize)
 (setq package-selected-packages
-  '(dart-mode lsp-mode lsp-dart lsp-treemacs flycheck company
+  '(dart-mode gpt lsp-mode lsp-dart lsp-treemacs flycheck company
     lsp-ui hover web-mode alchemist elixir-mode))
 (when (cl-find-if-not #'package-installed-p package-selected-packages)
   (package-refresh-contents)
@@ -15,7 +15,7 @@
 ;; gpt
 (require 'gpt)
 (setq gpt-openai-key "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")
-(global-set-key (kbd "M-g") 'gpt-dwim)
+(global-set-key (kbd "C-M-g") 'gpt-dwim)
 
 ;;  Dart
 ;(add-hook 'dart-mode-hook 'lsp)