1 Jul 2002 14:36
folding: some questions and comments (long)
Paul Robins <paul.robins <at> st.com>
2002-07-01 12:36:34 GMT
2002-07-01 12:36:34 GMT
(Please forgive me if a second, similar post to the one below appears on
this list. I lost up my original posting but I'm still not sure if it
survived somewhere in the posting process).
I'm a brand new vim user, quite excited to find a powerful, supported
text editor with a good implementation of "folding". I have however,
several comments and questions related to vims implementation of
folding. For info, I'm using exclusively foldmethod=marker.
As an ex-Inmos person, where folding was almost a religion I'm a keen
"folder". The "style" of folding used in some of those long gone editors
that I used in my youth was (IMHO) elegant and powerful. I'd like to
make vim look and behave a little more like that, if possible. For
starters, there are a couple of things I'd like to be able to do. Maybe
others may also like some of these ideas...
1) Indent folded lines to the same level as the fold's contents:
eg:
if (some test) {
... this stuff is folded
... so is this
if (some other test) {
... also folded
}
}
reads much nicer than :
(Continue reading)
RSS Feed