Fork me on GitHub
#emacs
<
2018-05-26
>
vemv08:05:44

Anyone has an opposite command for cider-find-var? Or generic jump functionality

vemv08:05:53

I would call it unjump

vemv08:05:20

Basically: imagine you cider-find-var N times in a row, jumping from location to location / from file to file

vemv08:05:35

which is typical when diving into an unknown codebase

vemv08:05:07

Now I want to do the opposite, go in the reverse directions location- and file-wise, one by one

vemv08:05:21

-- (if not I'll develop/post my solution here)

munen11:05:17

@vemv Wouldn't that be the standard binding M-,?

vemv13:05:08

Yes, that one is (xref-pop-marker-stack), just checked it out. Works perfectly, thanks!

munen06:05:23

You're welcome!

munen11:05:54

M-. usually jumps to a definition in Emacs, M-, goes through the stack and jumps back.

kommen12:05:58

@vemv if you happen to use evil-mode, I think you’re looking for evil-jump-backward

✌️ 1