-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Make lazy-helm/spacemacs/helm-jump-in-buffer
work with evil-jump-backward
#15741
Comments
spacemacs/layers/+completion/helm/funcs.el Line 566 in 3ba43e2
only does jumping but doesn't try to remember the last position before jumping... |
Thanks for the quick reply! I see, so what is the recommendation for "evilifying" *-jump and other commands to make them work more nicely with C-o & C-i? The latter two are etched into my nervous system. Or is there a more Spacemacs-ish way of going back to last cursor position? |
this command needs to remember the position... that's it |
Oh, I misread your comment then. It sounded to me as if you were saying that |
Related: #9451 |
I got confused by this conversation too. Here is how I solve this:
Since evil has provided a simple mechanism to do this, no need to write an advice. Not sure if evil-define-motion will be better. |
this is really a neat solution. |
This looks really nice, but does not work for me. Previous edit: My bad, it works with |
@lebensterben although this is labelled "Feature request", would the "Found work-around" label make sense? |
Please note that the actual jump function you are using might have changed in the meantime, e.g.:
|
As in subject, doing an
evil-jump-backward
withC-o
after alazy-helm/spacemacs/helm-jump-in-buffer
withSPC s j
does not jump back to the position curser was on before helm-jumping, but to any other buffer position evil-jump remembers (usually very old and unrelated or from a few movements in the past). Are users supposed to use a different command combination for this functionality?The text was updated successfully, but these errors were encountered: