Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

jedi-vim return to old position after jump with goto assignments/definitions

Tags:

vim

jedi-vim

I'm using vim with jedi/jedi-vim when I develop python code and I use extensively <Leader>d (goto definitions) and/or <Leader>g (goto assignments). I can use '' to return to the line before the jump, but only within the same file.

Is there a way to have the same behaviour when jumping between different files?

like image 200
ByteNudger Avatar asked Jul 13 '16 22:07

ByteNudger


1 Answers

I'm using Ctrl + O all the time to jump back (not only for Jedi, but also).

Also with Ctrl + I you can do the opposite: Jump forward.

like image 63
Dave Halter Avatar answered Oct 06 '22 00:10

Dave Halter