> huge document to find the place where I have to resume work
> or do modifications. Unfortunately, the search function stops
> in a new line, so that if I look for "a very interesting
> place which was far away"
> vim will not find it if there is a new line, i.e. something like this
>
> a very
> interesting place
> which was far away
>
> How can I tell vim to ignore new lines in the search function?
If you have the text in front of you, you can select it and
press * to search for other instances, ignoring multiple
whitespace including newlines. See:
http://vim.wikia.com/wiki/Search_for_visually_selected_text
John
--
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
No comments:
Post a Comment