> Hi, everyone.
> I use fdm=marker. The problem is when you add a fold, the fold
> after it will automatically open.
>
> For example, type {{{<CR>}}}<ESC>zcggO{{{
>
> You will find the second fold is opened automatically. This is
> annoying when editing. Must I reclose all the folding when add a new
> one?
>
> Regards,
> Yichao Zhou
If you usually add open/close folds in the same insert operation, this will help:
http://vim.wikia.com/wiki/Keep_folds_closed_while_inserting_text
If you need to move around a bunch in normal mode before adding the closing marker, it won't help as much.
--
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