last_edit_marker.vim : Keybind to quickly return to the last code you edited.
script karma |
Rating 0/0,
Downloaded by 938 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
joey twiddle |
|
script type |
utility |
|
description |
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).
|
|
install details |
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. |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 142.132.191.50
|