sponsor Vim development Vim logo Vim Book Ad

CoremoSearch : A simple simultaneous search script.

 script karma  Rating 134/40, Downloaded by 2070  Comments, bugs, improvements  Vim wiki

created by
Shuhei Kubota
 
script type
utility
 
description
  This script provides simultaneous search functionality.
                                                                    
  You can add a string that you want to search and remove a string.

  (from 0.2) Color highlighting is available setting :set[l] nohlsearch.
                                                                    
Usage:
  A. Adding a word (like asterisk(*) keystroke)
      1. Place the cursor on the word that you want to search.
      2. Press <C-@> or :CoremoSearchAdd
                                                                    
  B. Adding a selected string
      1. In visual mode, select the string that you want to search.
      2. Press <C-@> or :CoremoSearchAddV
                                                                    
  A'. Removing a word
      1. Place the cursor on the word.
      2. Press <Learder><C-@> or :CoremoSearchRemove
          (in most cases, <Leader> equals to backslash(\) keystroke)
                                                                    
  B'. Removing a selected string
      1. In visual mode, select the string.
      2. Press <Learder><C-@> or :CoremoSearchRemoveV
          (in most cases, <Leader> equals to backslash(\) keystroke)
 
install details
Put this plugin in your plugin directory(e.g. $VIMRUNTIME/plugin).
Then restart Vim or :source it.
 

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
coremo_search.vim 0.5 2019-06-05 7.0 Shuhei Kubota add CoremoSearchList to filter out items (works only on recent Vim)
coremo_search.vim 0.4 2012-01-12 7.0 Shuhei Kubota * now it works only in visual-mode. (not works in select-mode)
coremo_search.vim 0.3 2011-12-15 7.0 Shuhei Kubota * added option hooking of / (standard searching keystroke)
* re-hightlights when you changed between windows
coremo_search.vim 0.2 2008-03-31 7.0 Shuhei Kubota supports coloring search words!
coremo_search.vim 0.1 2008-03-29 7.0 Shuhei Kubota Initial upload
ip used for rating: 142.132.191.50

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.
   
Vim at Github