OpenLink Software

Usage stats on Shell script to use grep with gvim

 Permalink

an Entity in Data Space: 134.155.108.49:8890

See Find in files within Vim. Tip 1392 Printable Monobook Previous Next created November 21, 2006· complexity basic· author Mauro · version 6.0 With bash or ksh add on .bashrc or on .kshrc: function vimgrep { vimgrep_temp_file=/tmp/vimgrep_$$.tmp find . \( -name "*.cc" -o -name "*.h" -o -name "*.i" -o -name "*.icc" \) -print -follow | grep -v "CVS/" | sed "s/ /\\\/g" | xargs egrep -H -n -e $* > $vimgrep_temp_file gvim -q $vimgrep_temp_file -c copen rm $vimgrep_temp_file } and type from shell: $ vimgrep searchstring In Vim you can set grepprg to vimgrep: :set grepprg=vimgrep

Graph IRICount
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] This material is Open Knowledge Creative Commons License Valid XHTML + RDFa
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License.
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Copyright © 2009-2012 OpenLink Software