<div dir="ltr"><div><div><div><div>Dear list,<br><br>I'm trying to use evil-ace-jump-char-mode by:<br>(evil-leader/set-key "," 'evil-ace-jump-word-mode) ; ,, for Ace Jump (word)<br>(evil-leader/set-key "l" 'evil-ace-jump-line-mode) ; ,l for Ace Jump (line)<br><br></div>However, this seems not to be working with errors like:<br><br>let: Wrong type argument: commandp, ace-jump-word-mode<br><br></div>So I went into evil-integration.el and found indeed this is not a interactive function.<br>-----<br>(<b>evil-define-motion evil-ace-jump-word-mode</b> (count)<br> "Jump visually to the beginning of a word using ace-jump."<br> :type exclusive<br> :repeat abort<br> (evil-without-repeat<br> (evil-enclose-ace-jump-for-motion<br> (call-interactively 'ace-jump-word-mode))))<br>-----<br><br></div>So I'm wondering how people is make use of ace-jump... Since there's configuration files like <a href="https://raw.githubusercontent.com/cofi/dotfiles/master/emacs.d/config/cofi-evil.el">https://raw.githubusercontent.com/cofi/dotfiles/master/emacs.d/config/cofi-evil.el</a> having lines like:<br></div><div><br></div><div><pre> "SPC" 'evil-ace-jump-char-mode
"S-SPC" 'evil-ace-jump-word-mode
"C-SPC" 'evil-ace-jump-line-mode<br><br></pre><pre>Which apparently treat those as interactive functions to make use of...<br><br></pre><pre>I'm confused. So is there any comments/advice?<br><br></pre><pre>Best,<br><br></pre><pre>Chao<br></pre><br></div><div><div><div><br></div></div></div></div>