Monday, December 29, 2014

Re: Is there a way to incsearch with folded context

On 2014-12-28, Kevin Wu wrote:
> When I do searching, the cursor would jump to the first match, if
> I set "incsearch".
> But it's not true with folded context.
> Specifically speaking, What I want to get is that when searching,
> the folded context would be unfold automatically and the cursor
> would jump into where the first match is, and moreover when the
> cursor jump to another line, the unfolded context would be folded
> again.
>
> Is there any way to satisfy my need?

Take a look at

:help 'foldopen'
:help 'foldclose'

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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: