sponsor Vim development Vim logo Vim Book Ad

RougherExp : Changes your search expression into rougher regexp.

 script karma  Rating 2/2, Downloaded by 1085  Comments, bugs, improvements  Vim wiki

created by
Shuhei Kubota
 
script type
utility
 
description
Usage:
  1. Search for something.
  2. Execute ':RougherExp'.
     Then Vim restarts searching by rougher regexp.
                                                                
  Example:
      /abc123def('a', 'zzz', 0, null);
      or /neko999inu('p', 'hogehoge', 1, null);
          |
          V
      /\a\+\d\+\a\+('\a',\s'\a\+',\s\d,\s\a\+);
                                                                
  Recovery:
      To bring back your search expression, use search history.
      (/<UP> or /<DOWN>)
 
install details
Put this plugin in your plugin directory(e.g. $VIMRUNTIME/plugin).
Then restart VIM.
 

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
rougherexp.vim 0.1 2016-05-19 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