If I execute :jumps command it shows me a list of previously visited files/lines

jump line  col file/text
  97  152    0   ...

Can I jump to a jump by the jump number without iterating over them by pressing CTRL+o and CTRL+i?

I've not yet tried this link where they suggest to create a function: http://vim.wikia.com/wiki/Jumping_to_previously_visited_locations

But cannot it really be achieved without it? Isn't there some built-in command in vim to do that?

1 Answer 1


After analyzing the function GotoJump() described in the link: http://vim.wikia.com/wiki/Jumping_to_previously_visited_locations

I figured out that you have to type the jump number in normal mode and then press CTRL+o

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .