sponsor Vim development Vim logo Vim Book Ad

ShowMarks : Visually shows the location of marks.

 script karma  Rating 725/336, Downloaded by 27948  Comments, bugs, improvements  Vim wiki

created by
Anthony Kruize
script type
ShowMarks provides a visual representation of the location marks.
Marks are useful for jumping back and forth between interesting points in a buffer, but can be hard to keep track of without any way to see where you have placed them.  ShowMarks hopefully makes life easier by placing a sign in the leftmost column of the buffer.  The sign indicates the label of the mark and its location.
It can be toggled on and off and individual marks can be hidden(effectively removing them).

By default the following keymappings are defined:
   \mt : Toggles ShowMarks on and off.
   \mh : Hides an individual mark.
   \ma : Hides all marks in the current buffer.
   \mm : Places the next available mark.

ShowMarks requires that Vim is compiled with the +signs feature.
install details
Simply unzip showmarks.zip into you $HOME/.vim or $HOME\vimfiles folder.

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
showmarks.vim 2.2 2004-08-16 6.0 Anthony Kruize Fixed the highlighting of the A-Z marks when 'ignorecase' is on.(Mike Kelly)  Showmarks now triggers immediately when entering a buffer for the first time.(Mikolaj Machowski) Added support for highlighting the entire line a mark is placed on.  Now uses HelpExtractor to install the help file.
showmarks.zip 2.1 2004-03-03 6.0 Anthony Kruize Marks are now shown with an order of precedence and can be highlighted a different colour when multiple marks are placed on the same line. Included marks can now be specified per buffer. Thanks to Gary Holloway for these changes.
showmarks.zip 2.0 2003-08-11 6.0 Anthony Kruize This version adds support for all other marks, enhanced customization of how marks are displayed and a few bug fixes.  Special thanks to everyone who contributed to this release.
showmarks.zip 1.5 2002-07-16 6.0 Anthony Kruize Added the ability to customize how the marks are displayed.
showmarks.zip 1.4 2002-05-29 6.0 Anthony Kruize This version has support for placing the next available mark, support for hiding all marks in the current buffer, marks on line 1 are no longer shown, and includes a help file.
It is now packaged as a Zip archive.
showmarks.vim 1.3 2002-05-20 6.0 Anthony Kruize Fixed toggling ShowMarks not responding immediately. Added user commands for toggling/hiding marks. Added ability to disable ShowMarks by default.
showmarks.vim 1.2 2002-03-06 6.0 Anthony Kruize Added the ability to define which marks are shown/ignored, added a check to make sure Vim has signs support, and removed some debugging code I accidently left in.
showmarks.vim 1.1 2002-02-05 6.0 Anthony Kruize Added support for the A-Z marks and fixed the sign staying placed if the line it is on was deleted.
showmarks.vim 1.0 2001-11-20 6.0 Anthony Kruize Initial upload
ip used for rating:

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 the maillist. Help Bram help Uganda.