Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Goes back to the previous buffer (rather than C-O previous position).
tag: 1.3

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
plugin
README

README

This is a mirror of http://www.vim.org/scripts/script.php?script_id=4290

Sometimes I use Ctrl-] a few times to read some code, perhaps navigating up
and down in the files I visit.  Then I want to get back to where I was
before, but Ctrl-O may require a lot of hits.

Here we introduce an alternative, that goes back to the previous file, not
the previous position.  The default mapping is on C-U.

If you would rather go back to the last piece of code you were editing, see
last_edit_marker.vim

BUG TODO: If there is no previous buffer, will loop forever!  We could check
to see if we don't move at all, then abort.

Something went wrong with that request. Please try again.