Get embark keybinds in normal and visual state too

This commit is contained in:
Jeremy Dormitzer 2022-04-12 22:23:45 -04:00
parent b7d079a564
commit 49168b2ed8

View File

@ -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
((emacs motion insert) "C-." #'embark-act)
((emacs motion insert) "M-." #'embark-dwim)
((emacs normal motion insert visual) "C-." #'embark-act)
((emacs normal motion insert visual) "M-." #'embark-dwim)
("C-." #'embark-act)
("M-." #'embark-dwim)
(embark-file-map "s" #'sudo-edit-find-file