Vim Tips Wiki
Advertisement

Use this page to discuss script 2666 mark: highlight several words in different colors

  • Add constructive comments, bug reports, or discuss improvements (see the guideline).
  • Do not document the script here (the author should do that on vim.org).
  • This page may be out of date: check the script's vim.org page above, and its release notes.

Comments

Is there anyway to install it with vundle. I use 'BundleSearch mark', and tried some, it turned out to be the other plugin.

--July 23, 2014

You can use the vim-scripts/Mark--Karkat repo, mirrored by vimscripts.org; unfortunately, their scraper apparently still doesn't work well with plugins (forks) having identical names, so that version is out-of-date, but usable.
-- Inkarkat (talk) 06:54, July 24, 2014 (UTC)

Comments

Its mappings may be in conflict with IndexedSearch. --July 19, 2012

Comments

After playing with this script for a few hours, I still failed to figure out how to use it for two important scenario:

1, Suppose I am edit a big file, and I want to search for a pattern using <Leader>r, after I input the regular expression and press Return, I don't know if there is any match since the cursor does not jump to the first match. I have to return to the old Vim search way.

2, Suppose I have a few patterns highlighted, for example, 'foo', 'bar' and 'qaz'. Now I just searched for 'qaz' and it is in the screen, now if I want to jump to the occurrence of 'bar', I don't know what to do other than randomly srolling the screen up and down for that pattern. I don't know if this script has a search command which accepts a marker number [N].

Hopefully I am clear for my question.

2013-01-29

Advertisement