Apologies if this is already possible with the existing command systems.
In vim, you can do gi and switch to insert mode at the location you previously left insert mode
To quote vim help:
Insert text in the same position as where Insert mode was stopped last time in the current buffer. This uses the '^ mark. It's different from "`^i" when the mark is past the end of the line. The position is corrected for inserted/deleted lines, but NOT for inserted/deleted characters. When the :keepjumps command modifier is used the '^ mark won't be changed.
This is useful because you can be writing, exit insert mode, go do some visual/ex mode manipulation, then press gi and resume exactly where you left off
Apologies if this is already possible with the existing command systems.
In vim, you can do
gi
and switch to insert mode at the location you previously left insert modeTo quote vim help:
This is useful because you can be writing, exit insert mode, go do some visual/ex mode manipulation, then press
gi
and resume exactly where you left off