Skip to content
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

How to return from C-c j? #5870

Closed
xiaoyulei opened this issue Apr 23, 2016 · 15 comments
Closed

How to return from C-c j? #5870

xiaoyulei opened this issue Apr 23, 2016 · 15 comments

Comments

@xiaoyulei
Copy link

I use C-c j to jump to definition in golang. How jump back to last point?
Default is C-c p to return when I use prelude. It looks like not work in spacemacs.

@cpaulik
Copy link
Contributor

cpaulik commented Apr 23, 2016

If you are using evil then C-o should always get you back to your last position.

@xiaoyulei
Copy link
Author

@cpaulik I try it , but not work

@cpaulik
Copy link
Contributor

cpaulik commented Apr 23, 2016

What is C-o bound to for you? It should be evil-jump-backward.

@StreakyCobra
Copy link
Contributor

More exactly, what does SPC h d k C-o reports?

@xiaoyulei
Copy link
Author

C-o runs the command open-line (found in global-map)
@cpaulik @StreakyCobra

@krobelus
Copy link
Contributor

krobelus commented Apr 25, 2016

looks like you are using emacs as dotspacemacs-editing-style
maybe (pop-tag-mark) (C-t in vim) does work (but it is not bound to anything in emacs mode apparently)

@xiaoyulei
Copy link
Author

@krobelus yes, I use emacs style.

@TheBB
Copy link
Collaborator

TheBB commented Apr 25, 2016

_If you are using evil_ then C-o should always get you back to your last position.

@krobelus
Copy link
Contributor

@YuleiXiao i tested it now with the go layer, and (pop-tag-mark) works fine for me. it is bound to M-*

@xiaoyulei
Copy link
Author

xiaoyulei commented Apr 26, 2016

@krobelus I try M-* , but still not work. It looks like pop-tag-mark not bound to any keys default in emacs style.

@krobelus
Copy link
Contributor

@YuleiXiao For me, it is bound to M-*, on a fresh installation of spacemacs with only the go layer enabled.

@xiaoyulei
Copy link
Author

@krobelus It is weird, I am the same with you, a fresh installation and only enable go layer.

@xiaoyulei
Copy link
Author

xiaoyulei commented Apr 26, 2016

image

@krobelus no keys to bound

@tskinn
Copy link

tskinn commented Oct 4, 2017

For posterity, I've found that M-, does the trick. It is bound to xref-pop-marker-stack

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!

@github-actions github-actions bot added the stale marked as a stale issue/pr (usually by a bot) label Feb 29, 2020
@lebensterben lebensterben removed the stale marked as a stale issue/pr (usually by a bot) label Feb 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants