this post was submitted on 12 Jun 2025
22 points (100.0% liked)

Linux

11185 readers
95 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 2 years ago
MODERATORS
 

The following gif demonstrates folding:

you are viewing a single comment's thread
view the rest of the comments
[โ€“] tal@lemmy.today 8 points 2 days ago* (last edited 2 days ago) (4 children)

If you only care about folding Markdown, as in your animation, I'm sure that there are Markdown-specific editors that do that.

If you want folding across a wide variety of languages, then I think that your choices are going to be more-limited, since those editors need to be able to parse those languages. Vim and Emacs are kinda the Big Two general-purpose editors, and they're gonna have the widest support.

EDIT: For specifically programming languages, a number of IDEs can probably do it.

Here's Eclipse, for example.

EDIT2:

https://en.wikipedia.org/wiki/Comparison_of_text_editors

This has a "text folding" and "code folding" column.

[โ€“] ruud@piefed.world 1 points 14 hours ago

This is a very cool list, I will try some. The feature I am looking for is not included in the overview so I'll have to just try. Unless someone can suggest which app has this feature: I want to be able to click/double click a quote to select the text between the quotes. This to easily replace text between quotes. On MacOS I used to use BBEdit which has this feature. But now I'm on linux so looking for a replacement. (I do know the ci' vi-command but am looking for a GUI editor). I use Fedora KDE Plasma

load more comments (3 replies)