Monday, March 17, 2014

Folding disapear when reopening the same file in a new window

I find the filding feature too volatile.

It disapears and expands way too often.

What bothers me the most, is when I fold manually, let's say, and reopen the
same file in another window or another tab....what happens is that the
folding in the first file is gone..

I tried to manually set mkview...did not help

I even tried to do the autocmd suggested in vim manual, so I copied the 2
lines of:

Au BufWinLeave *.c mkview
Au BufWinEnter *.c loadview

And still doesn't help.

So any suggestion to make the fold feature more controllable...because as
for now..I feel like it decides on its own when to keep or get rid of the
folding without any consistent and documented mannar



--
View this message in context: http://vim.1045645.n5.nabble.com/Folding-disapear-when-reopening-the-same-file-in-a-new-window-tp5720956.html
Sent from the Vim - General mailing list archive at Nabble.com.

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