Searching for selected text

2006-09-30 Thread Bram Moolenaar
Sometimes people ask me for a command to search for the text that is currently visually selected. You could add a mapping for the '/' key, but then you lose the possibility to extend the visual area by searching for a pattern. Since we might need more commands in Visual mode later, and we only

Re: Searching for selected text

2006-09-30 Thread Georg Dahn
Hi! Bram Moolenaar wrote: / search for the Visually selected text forward ? same, backward Is there a good alternative? I think, this is ok. For the moment I have the following lines in my vimrc file (I found the original code in a vim tip): --- 8 --- Search in Visual and

Re: Searching for selected text

2006-09-30 Thread mzyzik
I don't like this one more, but it's a good alternative: g/ g? Also, I feel that one day might do something in visual; at least visual line mode. --Matt On Sat, Sep 30, 2006 at 01:37:59PM +0200, Bram Moolenaar wrote: Sometimes people ask me for a command to search for the

Re: Searching for selected text

2006-09-30 Thread Bram Moolenaar
Matt Mzyzik wrote: I don't like this one more, but it's a good alternative: g/ g? Also, I feel that one day might do something in visual; at least visual line mode. g? is already used for rot13 encoding. g/ is scheduled to be used to search inside the selected area -- Eye

Re: Searching for selected text

2006-09-30 Thread Nikolai Weibull
On 9/30/06, Bram Moolenaar [EMAIL PROTECTED] wrote: g/ is scheduled to be used to search inside the selected area Hehe, I was just about to ask if such a command wouldn't be useful :-) nikolai

Re: Searching for selected text

2006-09-30 Thread Yakov Lerner
On 9/30/06, Georg Dahn [EMAIL PROTECTED] scribbled: Hi! Bram Moolenaar wrote: / search for the Visually selected text forward ? same, backward Is there a good alternative? I think, this is ok. For the moment I have the following lines ... vnoremap expr *

Re: Searching for selected text

2006-09-30 Thread Yakov Lerner
On 9/30/06, Bram Moolenaar [EMAIL PROTECTED] wrote: Sometimes people ask me for a command to search for the text that is currently visually selected. You could add a mapping for the '/' key, but then you lose the possibility to extend the visual area by searching for a pattern. Since we might

Recording of Vim BOF session

2006-09-30 Thread Bram Moolenaar
The audio recording of the Vim BOF session at the euroOSCON is now available: ftp://ftp.vim.org/pub/vim/stuff/20060919_BOF.wav ftp://ftp.vim.org/pub/vim/stuff/20060919_BOF.mp3 The size of the .wav is 17 Mbyte. It's a 8000 Hz mono recording. The .mp3 file is about half that size

Re: Searching for selected text

2006-09-30 Thread Bram Moolenaar
Yakov Lerner wrote: On 9/30/06, Bram Moolenaar [EMAIL PROTECTED] wrote: Sometimes people ask me for a command to search for the text that is currently visually selected. You could add a mapping for the '/' key, but then you lose the possibility to extend the visual area by searching

gvim segfaulting on Solaris 10

2006-09-30 Thread Laurent Blume
Hi all, I built vim 7.0.110 on Solaris 10 U1 x86, fully patched, using Sun Studio 11 or Solaris' GCC 3.4.3. Building went fine, however, test 16 failed (no output). What happens is that gvim fails on startup with a segfault: $ gvim GTK Accessibility Module initialized Bonobo accessibility

Re: Searching for selected text

2006-09-30 Thread A.J.Mechelynck
Bram Moolenaar wrote: Sometimes people ask me for a command to search for the text that is currently visually selected. You could add a mapping for the '/' key, but then you lose the possibility to extend the visual area by searching for a pattern. Since we might need more commands in Visual