user4018217
user4018217

Reputation:

Emacs Pymacs Ropemacs return to previous file after goto definition

I use Emacs + pymacs + ropemacs.I can use C-c g to go to the definition of objects,as mentioned in this answer https://stackoverflow.com/a/2855895/4018217 ,but after I go the definition ,how do I return to the file or the position from where I issued the command.

I have been using bookmark in emacs to navigate till now.

Upvotes: 3

Views: 186

Answers (1)

Ehvince
Ehvince

Reputation: 18375

With evil-mode, you can use evil-jumper: http://melpa.org/#/evil-jumper . It is a replacement of the jump list with the added feature that it can jump accross files and buffers.

The base use of C-o and C-i in evil are to go to the previous/next position of the cursor in the current buffer. With evil-jumper, we are not limited to the current buffer.

Upvotes: 0

Related Questions