From 668922733806e0cdf2cc19bdcc31f4f6b44eecc2 Mon Sep 17 00:00:00 2001 From: Howard Abrams Date: Thu, 16 Jun 2022 12:16:29 -0700 Subject: [PATCH] In case I need to call evil-inner-WORD directly I created an interactive wrapper. --- ha-programming-elisp.org | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ha-programming-elisp.org b/ha-programming-elisp.org index 0d98dda..9a450f4 100644 --- a/ha-programming-elisp.org +++ b/ha-programming-elisp.org @@ -87,6 +87,12 @@ I love packages that add functionality but I don’t have to learn anything. How (add-to-list 'evil-goto-definition-functions 'ha-org-code-block-jump) #+END_SRC +And in case I need to call it directly: +#+BEGIN_SRC emacs-lisp +(defun ha-goto-definition () + (interactive) + (evil-inner-WORD)) +#+END_SRC ** Clever Parenthesis We need to make sure we keep the [[https://github.com/Fuco1/smartparens][smartparens]] project always in /strict mode/, because who wants to worry about paren-matching: #+BEGIN_SRC emacs-lisp