3

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.

Community
  • 1
  • 1
  • Hey, would you mind check and edit this installation procedure ? thank you very much ! http://wikemacs.org/index.php/Python#Refactoring – Ehvince Nov 25 '14 at 09:30
  • 1
    I did update the installation procedure,itll be great if you could test it yourself.I still haven't tried the evil mode,I was hoping there was a ropemacs keyboard binding to go back to previous buffer. –  Nov 26 '14 at 10:31
  • I saw that, thank you very much ! The procedure worked for me. I can at last discover rope, and its rename feature is already handy ! (it is pretty nice to be able to see a preview for every command). I didn't manage to test the `el-get` recipe though. – Ehvince Nov 26 '14 at 14:13

1 Answers1

0

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.

Ehvince
  • 17,274
  • 7
  • 58
  • 79
  • I haven't used the evil mode till now,ill let you know if it works,I'll also get to the installation procedure as well. –  Nov 25 '14 at 10:47