Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Replace ace-jump with avy #2574
SPC SPC is bound to
I didn't add
I decided not to trigger
I haven't touched the docs yet.
This wasn't possible with ace-jump either, but maybe someone knows a fix.
I would like to select a range of lines in
I can also reproduce with the other avy-commands and a host of other non-evil commands as well. Where should we fix this? I don't quite understand the evil-visual-state code, but it's very strange that the normal visual state and even visual block state works with avy, but not the visual line state.
This works fine using ace-jump. I don't think I have any special compat code other than what evil itself ships with.
(evil-define-motion evil-avy-goto-line (count) "Jump visually to the beginning of a line using avy." :type line :repeat abort (evil-without-repeat (call-interactively 'avy-goto-line))) (define-key evil-visual-state-map (kbd "C-SPC") 'evil-avy-goto-line)
I guess fully integrating evil and avy requires some work, but my evil-fu isn't strong enough for it.