The following gif demonstrates folding:

  • Max
    link
    fedilink
    English
    0
    edit-2
    1 month ago

    I believe Kate does that! It’s a GUI and not a TUI though. Not sure if that was a requirement as well

    • @HayadSont@discuss.onlineOP
      link
      fedilink
      English
      0
      edit-2
      1 month ago

      Thank you for mentioning Kate! The GNOME-fanboy inside of me would probs like to resist it, but sometimes KDE’s offering is strictly better[1] at least IMO*. I’ll look into it and see if it satisfies my needs.

      It’s a GUI and not a TUI though. Not sure if that was a requirement as well

      That wasn’t a requirement. Regardless, thank you for the heads up!


      1. I absolutely adore Okular. ↩︎

      • Max
        link
        fedilink
        English
        1
        edit-2
        1 month ago

        I like it a lot when I don’t need a full IDE or a terminal editor (which I use micro for).

        The folding in Kate isn’t bound to a keyboard shortcut by default, but you can bind the katepart > Toggle current node in settings > configure keyboard shortcuts. It’s also available via mouse on the left side.

        • @HayadSont@discuss.onlineOP
          link
          fedilink
          English
          130 days ago

          The folding in Kate isn’t bound to a keyboard shortcut by default, but you can bind the katepart > Toggle current node in settings > configure keyboard shortcuts. It’s also available via mouse on the left side.

          Thanks for the heads-up!

      • Björn Tantau
        link
        fedilink
        English
        11 month ago

        I love Kate. If I recall correctly you can even configure it to fold everything by default.