Wikia

Vim Tips Wiki

Script:2666

Talk0
1,610pages on
this wiki
Revision as of 22:21, January 29, 2013 by 216.239.45.69 (Talk)

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

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.

Around Wikia's network

Random Wiki