sponsor Vim development Vim logo Vim Book Ad

FastGrep : FastGrep for a string using native linux commands in Ruby on Rails projects.

 script karma  Rating 6/3, Downloaded by 516  Comments, bugs, improvements  Vim wiki

created by
Nelson Fernandez
 
script type
utility
 
description
Usage:
  Define a hotkey to call FastGrep() function to search for a string in your project like this:

  map <F12> :call FastGrep()<CR>

  The search result will come back in a window that can be customized to be vertical or horizontal
  using this flag:

  let g:fgVertSplit = 1

  If is defined, the result window will be vertical, horizontal if not.

  In the result window can use 'e' and 'r' keys to cycle between results lines and 'q' to close the window.
  If put the cursor over the filename in the result window, can use gF to go to the file and line number.

  This script used some code burrowed from Specky! [1] and a TextMate bundle [2]

  Happy coding !

  [1] http://vim.sourceforge.net/scripts/script.php?script_id=2286
  [2] http://gist.github.com/4291/
 
install details
For installation untar the package over the .vim directory.
 

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
fastgrep_01.tar.gz 0.1 2008-08-20 7.0 Nelson Fernandez Initial upload
ip used for rating: 13.58.39.23

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