Proposal: adding an extra hook into vim's search

2007-05-26 Thread Iain Murray
Hi, Searching for hello world in vim doesn't match hello\nworld. This is annoying when editing documents. The solution is to search for hello\_sworld. But it is frustrating to type \_s instead of a space in every search. I have been getting around this by calling my own search function

Re: A performance question (patch included)

2007-05-26 Thread Yakov Lerner
On 5/25/07, Charles E Campbell Jr [EMAIL PROTECTED] wrote: John Beckett wrote: A.J.Mechelynck wrote: What about a different function to return, say, the number of 1K blocks (or the number of times 2^n bytes, with a parameter passed to the function) that a file uses? Yes, that's a much

Re: Proposal: adding an extra hook into vim's search

2007-05-26 Thread Yakov Lerner
On 5/26/07, Iain Murray [EMAIL PROTECTED] wrote: Hi, Searching for hello world in vim doesn't match hello\nworld. This is annoying when editing documents. The solution is to search for hello\_sworld. But it is frustrating to type \_s instead of a space in every search. I have been getting

Re: Proposal: adding an extra hook into vim's search

2007-05-26 Thread Iain Murray
On 26/05/07, Yakov Lerner [EMAIL PROTECTED] wrote: I believe you can achieve what you want using 'cmap expr' cleverly. Thanks very much for doing this. Your solution is certainly a lot of what I wanted. And I'm sorry if my problem looks more like a user support query than suitable for the -dev