sponsor Vim development Vim logo Vim Book Ad

VirMark.vim : Ability to create virtual marks.

 script karma  Rating 4/3, Downloaded by 493

created by
Douglas Potts
 
script type
utility
 
description
Based on some advice given by Benji Fisher on utilizing a buffer local variable to store the current position.  It becomes a virtual mark as it doesn't take up one of the normal vim 'marks' a-zA-Z, instead it uses a variable.  They are local to a buffer, just like normal marks.  Useful for scripts that need to keep position, but don't want to change the user's mark setting.
 
install details
Put in your plugin directory.  Can be used either from a Script or the command line.  Two user commands SetMark and GoMark.  Argument is just like normal mark  command a a-z character.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
VirMark.vim 1.1 2001-11-08 6.0 Douglas Potts Initial upload

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to [email protected] after searching the archive. Help Bram help Uganda.
   
Sponsored by Web Concept Group Inc. SourceForge.net Logo