linktohack / evil-space

vim-space for evil-mode
GNU General Public License v2.0
11 stars 3 forks source link

evil-repeat repeats evil-space commands #6

Open alanpearce opened 6 years ago

alanpearce commented 6 years ago

If I have the text (cursor shown as |) |aeiou aeiou aeiou

and I enter

fe
x
SPC
.

I would expect to see aiou a|iou aeiou, but instead the result is aiou aeiou a|eiou: . repeats SPC and not x, as I would have expected. Additionally, this doesn't appear to be how vim operates, see answers to https://superuser.com/questions/429917/repeat-last-normal-mode-command-including-moves-in-vim

alanpearce commented 6 years ago

I found a similar issue that was already fixed with company+evil, it looks like evil-declare-ignore-repeat should be called on every command, but I couldn't see any commands in evil-space-el.

https://github.com/company-mode/company-mode/issues/15#issuecomment-22523265