diff --git a/emacs/.emacs.d/config/init-completion.el b/emacs/.emacs.d/config/init-completion.el index 99e997c..fdf0eee 100644 --- a/emacs/.emacs.d/config/init-completion.el +++ b/emacs/.emacs.d/config/init-completion.el @@ -97,8 +97,8 @@ targets." (add-to-list 'embark-target-injection-hooks '(lsp-execute-code-action embark--ignore-target)) (add-to-list 'embark-target-injection-hooks '(lsp-describe-thing-at-point embark--ignore-target))) :general - ("C-." #'embark-act) - ("M-." #'embark-dwim) + ((emacs motion insert) "C-." #'embark-act) + ((emacs motion insert) "M-." #'embark-dwim) ('normal "C-." #'embark-act) ('normal "M-." #'embark-dwim) (embark-file-map "s" #'sudo-edit-find-file