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-evil.el
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
_______________________________________________
implementations-list mailing list
implementations-list@lists.ourproject.org
https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list

Reply via email to