On 2012-01-15, Pau wrote: > Dear all, > > thanks a lot... but I forgot to mention that one main problem is that > I cannot know in advance where the new line is... isn't there a faster > way of telling vim to ingore new lines?
No, but with these mappings, you don't need to know where the newline is: any space in your pattern will be automatically replaced by \_s\+ which will match any whitespace. (Using \s\+ instead of just \_. or \_s will handle newlines followed by indenting.) Please don't top-post to this list. Regards, Gary -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
