Thursday, April 28, 2011

Re: Foldings: why to they unfold below if I type a quote ( ' or ")

On Wed, Apr 27, 2011 at 04:26:13PM -0500, David Kahn wrote:
>I am curious if there is a way to make foldings not unfold if I type a
>quote. For example, if I am adding to the header or content in an open

Maybe this will help, in .vimrc:

" Don't update folds in insert mode.
aug NoInsertFolding
au!
au InsertEnter * let b:oldfdm = &l:fdm | setl fdm=manual
au InsertLeave * let &l:fdm = b:oldfdm
aug END

--

.

--
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