#83 vim code folding marker support

none
open
nobody
Editing (36)
5
2013-11-03
2011-07-03
ritesh
No

Will it be possible to add support for vim code folding markers // <comment> {{{ & // }}}? Support for the za fold toggle command will also be very welcome.

Discussion

  • Ernie Rael
    Ernie Rael
    2011-07-03

    There's not much that isn't possible ;-)

    If you are interested in taking a look at the source, I can assist you in finding...

    BTW, there's currently 'zo'. You could map 'za' to 'zo' if your fingers are trained...

     
  • Ernie Rael
    Ernie Rael
    2013-11-03

    • Group: --> duplicate
     
  • Ernie Rael
    Ernie Rael
    2013-11-03

    1.5.0 has improved support for code folding, including additional commands like 'za' and 'zA'.

    NetBeans has it's own way of specifying folding. You could set up some keymappings to "insert start fold marker" and "insert end fold marker". Then have different definitions for vim vs NB.

     
  • Ernie Rael
    Ernie Rael
    2013-11-03

    • Group: duplicate --> none