60
submitted 2 days ago by HayadSont@discuss.online to c/linux@lemmy.ml

The following gif demonstrates folding:

top 50 comments
sorted by: hot top controversial new old
[-] barlog@lemmy.ml 7 points 1 day ago
[-] HayadSont@discuss.online 1 points 5 hours ago

Thanks for the recommendations! Helix doesn't seem to offer this functionality (yet). Unfortunately...

As for Zed, it does seem to be capable of reproducing the functionality found in the gif (or at least to some extent). However, installing it on my distro isn't pretty. Therefore, I wish to install it at some point, but I'll wait it out for now.

[-] greywolf0x1@lemmy.ml 2 points 13 hours ago
[-] HayadSont@discuss.online 1 points 5 hours ago

Do you happen to have a lot of experience with other text editors (and/or IDEs)? If so, would you like to chime in and compare Zed to the ones you feel confident talking about?

Thanks in advance!

[-] the_wiz@feddit.org 3 points 22 hours ago
[-] HayadSont@discuss.online 1 points 5 hours ago* (last edited 5 hours ago)

If you're not trolling, then I'd like to offer my apologies for assuming you were.

Perhaps I shouldn't feed the trolls, but I couldn't resist: does ed even support the functionality demonstrated in the gif above? I'm asking this from a genuine position of ignorance.

[-] spacemanspiffy@lemmy.world 8 points 1 day ago

If you don't want to go the Emacs or Vim routes, try Kate. Neovim is amazing but Kate is too from what I hear. Similar support for LSPs.

[-] HayadSont@discuss.online 1 points 5 hours ago

It's not that I don't want to go with Emacs or Neovim. Rather, I want to explore what else is out there.

As for Kate, thank you for its endorsement! I've tried Kate since making this post and it^[Together with KDevelop. Though it has to be noted that KDevelop IIUC seems to rely on Kate for this functionality.] has been the only one which has yielded a desirable result. I can wholeheartedly attest to its quality.

[-] DieserTypMatthias@lemmy.ml 10 points 1 day ago* (last edited 1 day ago)

Will probably get airstriked for this, but Zed is also a option.

Also, if you're using GNOME, then try GNOME builder. And if you're using KDE, then try KDevelop or Kate.

[-] HayadSont@discuss.online 1 points 9 hours ago

Thank you for your recommendations!

Hopefully I'll get around to take Zed for a test drive in the near future.

As for GNOME Builder, for some reason, I wasn't able to replicate what's seen above with it. Perhaps it doesn't support Markdown that well. Or..., it needs/requires a plugin to do its bidding. Would you happen to know more on this? Any help is appreciated!

KDevelop and Kate, on the other hand, have been a very pleasant surprise. I have literally checked about a dozen of text editors since yesterday, and these two have been the only ones that have yielded the desired result. Props and kudos to the dev team!

[-] pbg@sh.itjust.works 3 points 1 day ago

tbf, i love zed and using it for big stuff and neovim for basic scripts is the perfect balance for me

[-] TerHu@lemmy.dbzer0.com 3 points 1 day ago

i’ve heard that some people love using kate because, with some plugins, it really can do all most people need. i’ve seen a dude make a video on it but would need some time to find it again if there was any interest.

[-] Nibodhika@lemmy.world 5 points 1 day ago

Others have given you many options, but I would like to know why Nvim or Emacs are not good options for you?

[-] HayadSont@discuss.online 1 points 6 hours ago* (last edited 6 hours ago)

No no, don't get me wrong. I think both Emacs and Neovim are excellent. And this little endeavor/search/pursuit has (perhaps more than anything) solidified (and gave context as to) why they're in their own league.

Like, I've tried about a dozen of text editors in last couple of days. And with most^[Heck, I've only been able to confirm that Kate and KDevelop at least do what has been advertised (by others).] of them I've failed to reproduce the functionality demonstrated in the gif.

But even the very best of what I've tried since making this post pales -or at least seems to be*- in terms of extensibility. And, when we add in Emacs' proven^[Neovim is still relatively new. I don't think I can justifiably vouch for its longevity yet.] longevity, it becomes hard to root for any of the alternatives. At least..., so far*.

Still, I had to answer for myself if committing to Emacs (or Neovim for that matter) was justified given the fact that I had not a lot of experience with text editors 😅. Like, as funny as it sounds, I've moved from Word+StickyNotes to (GNOME's) Text Editor to a bunch^[I can recall ghostwriter, MarkText and QOwnNotes.] of Markdown text editors to Emacs. And the switch to Emacs was mostly motivated when I saw Obsidian do the very thing you see in the gif 😂. But as cool as learning the ropes of Emacs was, I think I was experiencing some impostor syndrome shenanigans.

Thankfully, it seems that this has mostly served to be a huge motivation boost. Perhaps I was (more than) ready to conquer Emacs all along...

[-] anon5621@lemmy.ml 26 points 2 days ago

Kate,kdevelop,xed,mousepad,gnome builder.,notepad next(clone notepad++)

load more comments (1 replies)
[-] flubba86@lemmy.world 12 points 2 days ago* (last edited 2 days ago)

On windows: Notepad++. On Linux-based OS: Kate. And there's also JetBrains Fleet, that is jetbrains answer to vscode.

[-] ILikeBoobies@lemmy.ca 2 points 11 hours ago

Kate is for Windows and Mac as well

[-] HayadSont@discuss.online 3 points 1 day ago

Thank you!

I tested Notepad Next, which seems to be Notepad++' cross-platform alternative. However, I wasn't able to get the folding functionality on a Markdown file. Am I doing something wrong?

I've tried Kate since yesterday, it has been one of the better ones for now.

JetBrains Fleet seems like a cool project. But I'll probably wait until it's open sourced. Thanks anyways!

[-] mvirts@lemmy.world 2 points 2 days ago

Also notepad++ on wine on Linux ... Not my favorite but it's there

[-] flubba86@lemmy.world 6 points 2 days ago

Yeah.. but why? Kate is better in about every way. And while we're on the topic, Kate is also available on the windows store, with a real Windows build.

load more comments (1 replies)
[-] Mwa@thelemmy.club 14 points 2 days ago* (last edited 2 days ago)

Geany(Its a lightweight GTK Based IDE)

[-] xavier666@lemm.ee 1 points 1 day ago

Too low on the list

load more comments (3 replies)
[-] slacktoid@lemmy.ml 14 points 2 days ago* (last edited 2 days ago)

There's also Zed. And helix.

Amongst all the other great alts here

Also neovim is really dope! Just have to throw that there

[-] HayadSont@discuss.online 5 points 2 days ago

There’s also Zed.

Noted. Thank you!

And helix.

I believe this doesn't have folding (yet). Unfortunately.

Also neovim is really dope! Just have to throw that there

xD , Neovim is definitely pretty cool.

[-] RageLtd@lemmy.world 3 points 2 days ago

I use Zed as my primary editor these days. It’s just about ready for prime time!

(Source: 12 years of web and Linux hacking)

[-] HayadSont@discuss.online 1 points 9 hours ago

By admission of my fellow Lemmy-users, I've gone and tried out many text editors over the course of the past few days. Unfortunately, I didn't like the installation options for Zed in my current distro of choice (i.e. Fedora):

  • its flatpak is unverified
  • not found in Fedora's own repos

It is found within Terra's repos. However, users report that -at least for Zed- some of the installed packages from Fedora's own repo are replaced by Terra's. This interaction can be prevented by giving preference for Fedora's own packages, but it seems like a can of worms I'm not very interested to engage with at the moment. Hopefully this situation will be resolved rather sooner than later.

Anyhow, have you got the chance to work with Emacs and/or Kate over the years? If so, could you chime in and give your thoughts on how Zed fares in comparison? Please note that I'm (mostly) asking within the confines of a relatively simple text editor used to take notes with.

[-] RageLtd@lemmy.world 1 points 5 hours ago

Honestly I never really got into using any of the terminal based editors- I like a pretty GUI, personally.

That being said I have been a KDE user for the last couple of years and actually have quite a favourable view on Kate. It’s a very competent editor with a great deal of extensibility.

The big difference between the two is their focus. Zed is written to be targeted at developers and as such has some capabilities that Kate doesn’t (afaik) like an AI assistant panel, handling multi megabyte text files with grace, and being able to directly connect to remote file systems over SSH.

If you’re not looking for those features I think you’d be very happy with Kate!

[-] t0mri@lemmy.ml 5 points 1 day ago* (last edited 1 day ago)

I remember something called lapce too

Edit 0: https://github.com/lapce/lapce

[-] HayadSont@discuss.online 1 points 9 hours ago

Thank you for mentioning Lapce!

I have been interested in Lapce for a long time. Unfortunately, IIUC, it doesn't support folding Markdown headings as shown in the gif. At least, I wasn't able to get it to work. Can you attest to this? Or am I doing something wrong? Your aid would be much appreciated!

[-] caseyweederman@lemmy.ca 2 points 1 day ago

There's got to be a Micro plug-in for this.

[-] caseyweederman@lemmy.ca 7 points 1 day ago

WAIT, if I'm reading this right, it's had code folding since last year: https://github.com/zyedidia/micro/pull/2942
I'm gonna try this right now

[-] HayadSont@discuss.online 1 points 5 hours ago

Thanks a lot for putting in the work! Uhmm..., how has testing been? Were you able to pull this off with Markdown?

[-] 0x01@lemmy.ml 7 points 2 days ago
load more comments (15 replies)
load more comments
view more: next ›
this post was submitted on 12 Jun 2025
60 points (96.9% liked)

Linux

55235 readers
1572 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS