diff --git a/ha-config.org b/ha-config.org index f854cfa..6df7d15 100644 --- a/ha-config.org +++ b/ha-config.org @@ -747,8 +747,8 @@ Doom introduced me to [[https://github.com/hlissner/evil-snipe][evil-snipe]] whi (setq evil-snipe-scope 'visible) :config (evil-define-key '(normal motion operator visual) - "s" #'evil-snipe-s - "S" #'evil-snipe-S) + "s" #'evil-snipe-s + "S" #'evil-snipe-S) (evil-snipe-mode +1)) #+END_SRC @@ -760,9 +760,9 @@ I like both [[https://github.com/emacs-evil/evil-surround][evil-surround]] and H (use-package evil-surround :after evil-snipe :config - (dolist (state '(normal motion operator visual)) - (evil-define-key state evil-surround-mode-map "z" 'evil-surround-edit) - (evil-define-key state evil-surround-mode-map "Z" 'evil-Surround-edit)) + (evil-define-key '(normal motion operator visual) evil-surround-mode-map + "z" 'evil-surround-edit + "Z" 'evil-Surround-edit) (global-evil-surround-mode 1)) #+END_SRC Notes: