sponsor Vim development Vim logo Vim Book Ad

incfilesearch.vim : Incremental search for files to edit using glob

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

created by
Greg McIntyre
 
script type
utility
 
description
Based on incbufswitch.vim (http://www.vim.org/scripts/script.php?script_id=685)

Usage:
(1) Define a normal key mapping to :IncFileSearch or leave the default of <C-O>
(2) When activated, start typing the name of the buffer you want to switch to.
(3) Press <BS> if you make an error
(4) Press <CR> to edit the first buffer in the remaining match list
(5) Press <ESC> to quit and continue editing the current buffer

Still a little crude. Polish from vim experts appreciated!
 
install details
(1) Copy to plugin directory
(2) Start vim. Hit <C-O> and start typing a regexp. Or redefine the key mapping. Check out the script header.
 

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
incfilesearch.vim 1.0 2007-03-12 6.0 Greg McIntyre Initial upload
ip used for rating: 18.226.96.61

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