|
From: | Drew Adams |
Subject: | RE: How to supply the current word as a parameter to grep? |
Date: | Fri, 19 Sep 2008 07:24:56 -0700 |
> (global-set-key [(control shift f)] 'grep) > (setq grep-command "cd ~/work && find -name \"*.cpp\" -or -name \"*.h > \" | xargs grep -nH -e ") > > I'd like have the current word supplied as a parameter to grep > whenever I hit the above key combination. > How do I accomplish that? See grep+.el: http://www.emacswiki.org/cgi-bin/wiki/grep%2b.el. It does that.
[Prev in Thread] | Current Thread | [Next in Thread] |