Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re^3: Code Folding

by afresh1 (Hermit)
on Dec 30, 2008 at 18:16 UTC ( [id://733315] : note . print w/replies, xml ) Need Help??

in reply to Re^2: Code Folding
in thread Code Folding

Although vim has many commands for folding things, I really only use 2, za and zA. They toggle folding at the cursor, capital is recursive.

My point is that folding can appear simple, but depending on features you want to allow it can be more complex.


Replies are listed 'Best First'.
Re^4: Code Folding
by sir_lichtkind (Friar) on Jan 01, 2009 at 23:48 UTC
    Thanks for the answer and it agrees to my gut feeling that these are the two most important. Thatswhy I put them together on the easier reachable key ("-" alt+minus and alt+shift+minus- the other 2 on plus) and on the 2 leftmost mouse keys and but the new sibling fold on right because it has also similarities with a popup menu which usually appears on right click.

    Kephra, a beautiful Perl Editor, designed along Perl like Paradigms lives at