hlissner / evil-snipe

2-char searching ala vim-sneak & vim-seek, for evil-mode
MIT License
340 stars 25 forks source link

jump to next/prev match not working #19

Closed wedens closed 9 years ago

wedens commented 9 years ago

I press s, type 2 chars, then pressing s/S/;/, and it's not working. In *Messages* buffer: evil-snipe-repeat: Symbol's function definition is void: first.

Related configuration:

(require 'evil-snipe)
(global-evil-snipe-mode 1)
(setq evil-snipe-repeat-keys t)
(setq evil-snipe-scope 'visible)
(setq evil-snipe-repeat-scope 'whole-visible)
(setq evil-snipe-enable-highlight t)
(setq evil-snipe-enable-incremental-highlight t)
wedens commented 9 years ago

I found solution: (require 'cl). I think evil-snipe should explicitly require this.

hlissner commented 9 years ago

I did one better and removed the depency on cl entirely. It should work fine now with or without the (require 'cl).