On Tue, Mar 23, 2004 at 11:38:03PM -0500, Kamaraju Kusumanchi wrote:
> I have this huge latex file (master.tex) which has many other tex files 
> inputted into it (through say \input{file1.tex}, \input{file2.tex} ). I 
> am using vim editor to edit the master.tex file. Now is there any way to 
> search for a word in all the files (master.tex, file1.tex, file2.tex) 
> while I am editing one of the tex files?

How about the shell command

grep foo *.tex

to search for all occurences of 'foo' in all .tex files in the current
directory?  In vim, enter ':!' while in command mode before the shell
command.

-- 

Aaron Bingham
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to