Re: latex search in the \input files in vim
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
abingham@sfu.ca
Reply to: