Re: search within buffers

2006-12-11 Thread Ben K.
On Fri, 8 Dec 2006, Bill McCarthy wrote: Is there a way to do grep only within the open files (buffers)? I did :he grep and bufdo but it didn't seem to give me the option. Here's one I have in my vimrc: Do a :vim on all listed buffers. To find fopen: :Bufvim /fopen/ function! s:bufvim( arg

search within buffers

2006-12-08 Thread Ben K.
Hi, Is there a way to do grep only within the open files (buffers)? I did :he grep and bufdo but it didn't seem to give me the option. Thanks. Ben K. Developer http://benix.tamu.edu

Re: search within buffers

2006-12-08 Thread A.J.Mechelynck
Ben K. wrote: Hi, Is there a way to do grep only within the open files (buffers)? I did :he grep and bufdo but it didn't seem to give me the option. Thanks. Ben K. Developer http://benix.tamu.edu All the following is for Vim version 7 ONLY. To grep in all files named on the vim

Re: search within buffers

2006-12-08 Thread Yegappan Lakshmanan
Hi, On 12/8/06, Ben K. [EMAIL PROTECTED] wrote: Hi, Is there a way to do grep only within the open files (buffers)? I did :he grep and bufdo but it didn't seem to give me the option. You can try using the grep.vim plugin. You can download this plugin from:

Re: search within buffers

2006-12-08 Thread Ben K.
Thanks. On Fri, 8 Dec 2006, A.J.Mechelynck wrote: Ben K. wrote: Hi, Is there a way to do grep only within the open files (buffers)? I did :he grep and bufdo but it didn't seem to give me the option. Thanks. Ben K. Developer http://benix.tamu.edu All the following is for Vim version

Re: search within buffers

2006-12-08 Thread Ben K.
Thanks. By the way I'm seeing this error when I open the url: script:Can't open file: 'vs_scripts.MYI' (errno: 145) I guess it's from some maintenance work on mysql, but just in case. On Fri, 8 Dec 2006, Yegappan Lakshmanan wrote: Hi, On 12/8/06, Ben K. [EMAIL PROTECTED] wrote:

Re: search within buffers

2006-12-08 Thread A.J.Mechelynck
Ben K. wrote: Thanks. By the way I'm seeing this error when I open the url: script:Can't open file: 'vs_scripts.MYI' (errno: 145) I guess it's from some maintenance work on mysql, but just in case. The scripts section at vim-online is offline or broken down since yesterday. AFAIK, they

Re: search within buffers

2006-12-08 Thread Bill McCarthy
On Fri 8-Dec-06 10:18am -0600, Ben K. wrote: Is there a way to do grep only within the open files (buffers)? I did :he grep and bufdo but it didn't seem to give me the option. Here's one I have in my vimrc: Do a :vim on all listed buffers. To find fopen: :Bufvim /fopen/ function!