[Ben Fritz]
 
>> [...]
>>
>> What happens for me when I do this is that the fold closes while
>> doing keyword completion.  If I accept a keyword, e.g. by pressing
>> <Return> or <Space>, the fold opens again.
> 
> Try this:
> 
> http://vim.wikia.com/wiki/Keep_folds_closed_while_inserting_text
> 
> (don't let the title fool you, it should also keep folds open,
> basically it disables changes in the folds while in insert mode)

Works perfectly -- thank you!

-- 
 Haakon

-- 
You received this message from the "vim_dev" 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

Raspunde prin e-mail lui