Hi,

I would like to try and maybe use greputils (http://www.vim.org/scripts/script.php?script_id=1062) to perform some id-utils search.

I've installed this script in my ~/.vim/ folder :

* greputils
* genutils
* multvals.vim
* cmdalias.vim

This the files installation in ~/.vim/ :

autoload\
genutils.vim

plugin\
cmdalias.vim
genutils.vim
greputils.vim
multvals.vim

I use vim 7.2 on Ubuntu 10.04

When I execute the Grep command, this is my error message :

Error detected while processing function <SNR>23_Grep..<SNR>23_SubCmdType:
line 2:
E117: Unknown function: OnMS
E15: Invalid expression: OnMS() && &grepprg =~? '\<findstr\>'
Error detected while processing function <SNR>23_Grep:
line 26:
E121: Undefined variable: s:0NumPatterns
E15: Invalid expression: s:{cmdType}NumPatterns < 0
Press ENTER or type command to continue

I see "OnMS" function in "autoload/genutils.vim", I think this file is automatically loaded when I start vim.
If I launch :source ~/.vim/autoload/genutils.vim

I've this error :

Error detected while processing /home/sklein/.vim/autoload/genutils.vim:
line 1977:
E121: Undefined variable: s:save_cpo
E15: Invalid expression: s:save_cpo
line 1978:
E108: No such variable: "s:save_cpo"

How can I fix this errors ?
greputils is depreciated ?
What is your better grep / id-utils … tools to perform search on big source code ?

Thanks for your help,
Regards,
Stephane

--
Stéphane Klein<[email protected]>  - French
blog: http://stephane-klein.info
twitter: http://twitter.com/klein_stephane
pro: http://www.is-webdesign.com

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to