Dear list, I'm trying to use evil-ace-jump-char-mode by: (evil-leader/set-key "," 'evil-ace-jump-word-mode) ; ,, for Ace Jump (word) (evil-leader/set-key "l" 'evil-ace-jump-line-mode) ; ,l for Ace Jump (line) However, this seems not to be working with errors like: let: Wrong type argument: commandp, ace-jump-word-mode So I went into evil-integration.el and found indeed this is not a interactive function. ----- (*evil-define-motion evil-ace-jump-word-mode* (count) "Jump visually to the beginning of a word using ace-jump." :type exclusive :repeat abort (evil-without-repeat (evil-enclose-ace-jump-for-motion (call-interactively 'ace-jump-word-mode)))) ----- So I'm wondering how people is make use of ace-jump... Since there's configuration files like https://raw.githubusercontent.com/cofi/dotfiles/master/emacs.d/config/cofi-e... having lines like: "SPC" 'evil-ace-jump-char-mode "S-SPC" 'evil-ace-jump-word-mode "C-SPC" 'evil-ace-jump-line-mode Which apparently treat those as interactive functions to make use of... I'm confused. So is there any comments/advice? Best, Chao
Am 22.01.2015 um 09:09 schrieb Chao Lu:
Dear list,
I'm trying to use evil-ace-jump-char-mode by: (evil-leader/set-key "," 'evil-ace-jump-word-mode) ; ,, for Ace Jump (word) (evil-leader/set-key "l" 'evil-ace-jump-line-mode) ; ,l for Ace Jump (line)
However, this seems not to be working with errors like:
let: Wrong type argument: commandp, ace-jump-word-mode
So I went into evil-integration.el and found indeed this is not a interactive function.
evil-ace-jump-word-mode *is* an interactive function, because it is defined by `evil-define-motion`. However, your error message tells you that `ace-jump-word-mode` (note the missing 'evil-') is not an interactive function. Did you install and load the ace-jump package properly? (i.e. check with `C-h f ace-jump-word-mode RET` if this function is defined at all). Frank
participants (2)
-
Chao Lu -
Frank Fischer