New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
beginend support breaks several features #533
Comments
@leungbk, Thanks for pointing this out. I'm working on a fix for it. (I didn't know that this motion existed either in Vim or Evil, since I have never used it.) |
@leungbk, Does this look like an acceptable fix? (evil-define-motion evil-beginend-prog-mode-goto-beginning (count)
:jump t
:type line
(if count
(evil-goto-first-line count)
(beginend-prog-mode-goto-beginning)))
(evil-define-motion evil-beginend-prog-mode-goto-end (count)
:jump t
:type line
(if count
(evil-goto-line count)
(beginend-prog-mode-goto-end)))kk It works when I tried it locally. I will have to use a macro probably to do this for all the I originally tried just doing If this is acceptable, I'll work on a proper fix for all the beginend modes. Cheers. cc: @condy0919 |
Looks good to me. |
Looks good to me, too. |
beginend-foo-goto-beginning
and-end
don't presently have the:jump
property set tot
.123G
should take me to line 123. Thebeginend-foo-goto-end
commands don't support this. We might have to make some wrappers.cc @balajisivaraman
The text was updated successfully, but these errors were encountered: