sponsor Vim development Vim logo go to HTTPS page Vim Book Ad

visual-search : Search for or only within visual selection

 script karma  Rating 0/0, Downloaded by 78    Comments, bugs, improvements  Vim wiki

created by
Yarin Licht
 
script type
utility
 
description
By default, applying a search with Slash in visual mode moves the cursor, and the selection with it, this behavior is unintuitive at best and useless except in the rarest of circumstances.
So, we make search-forward search within the current selection, and search-backward search the whole buffer for the current selection.
 
install details
Copy to <runtimepath>/autoload/
 

Rating scripts is only available on the HTTPS page

script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
visual-search.vim 1 2017-03-03 7.0 Yarin Licht Initial upload
ip used for rating: 54.196.126.39

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.
   
SourceForge.net Logo