last_edit_marker.vim : Keybind to quickly return to the last code you edited.
| script karma
Downloaded by 181
Comments, bugs, improvements
script versions (upload new version)
|Automatically adds a global mark whenever you leave Insert mode, so you can
easily return to text you were last working on, even if you have moved to a
different buffer! I tend to need this after I have been navigating around
files to do some research. This saves us from hitting Ctrl-O repeatedly!
It sets global marker Z so you can jump back with g'Z but this is also bound to
the C-Y key for convenience.
ISSUES: not all edits require Insert mode. e.g. undo or 4r0
And leaving Insert mode is not always an edit (e.g. Insert mode on a
conqueterm, or i<Esc> aborted edit).
|drop in plugin/
Edit the script if you do not want to overwrite the C-Y keybind, or if you want to
use a different global marker than Z.
Click on the package to download.
ip used for rating: 18.104.22.168