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

1

7

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?

Cochabamba answered 13/7, 2016 at 22:14 Comment(0)
S
12

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.

Spindlelegs answered 13/7, 2016 at 22:29 Comment(1)
That's control-oh and control-eye in case the font is unclear.Externalize

© 2022 - 2024 — McMap. All rights reserved.