25
submitted 8 hours ago by gmhh@lemmy.world to c/linux@lemmy.world

I purchased a license for Sublime a few years ago, when I seriously thought that the way forward for me was to continue working in IT. That didn't play out, so I'm now free to expunge one more piece of proprietary software from my life.

I've spent literally years at a time with modal text editors as a job requirement, and I know that I just don't work well with them. This is not to say that Vim and Emacs are anything less than excellent. This is a me problem and not a them problem.

The editors I've found that have worked best for me in the past are probably Textmate and Sublime. Notepad++ runs a close third, and there is a Linux port these days!

The one thing I will not do is Electron-based editors. Besides the enormous resource usage of having a browser instance fired up for them, I've had malware try to coopt the JS backends of Electron text editors in the past. (On an interesting short-term contract gig cleaning malware out of websites.) It's left me pretty gunshy, and I don't need extra stress.

I've been down the lists of editors at certain wikis, and experimented with several of them. Kate seems like the best GUI editor and Micro seems like the best terminal-based editor.

However, I've been living in a relative vacuum on this subject for more than a decade and would appreciate others' opinions.

top 17 comments
sorted by: hot top controversial new old
[-] jaxxed@lemmy.world 4 points 4 hours ago

Is emacs considered a modal editor?

[-] ramblingsteve@lemmy.world 3 points 2 hours ago

it's more of an operating system with a text editor included :p

[-] gmhh@lemmy.world 0 points 3 hours ago

usually, yes. It can be used almost amodally, especially if you use the GUI interface, but there are some pretty important features that just can't be used without switching modes

[-] Hawk@lemmynsfw.com 3 points 3 hours ago

Typically modal refers to insert/normal mode.

Mode in terms of the file type is fairly standard across all editors.

So Emacs, VScode, Vim and Pycharm are the obvious choices.

Geany and Kate are options but they're not as nice to use.

See generally helix and zed.

[-] corsicanguppy@lemmy.ca 1 points 2 hours ago

According to whom? It has no fucking beep mode, it's just there.

It has modes, but that doesn't make it modal.

[-] NathanUp@lemmy.ml 10 points 7 hours ago

I vote Kate

[-] Ephera@lemmy.ml 9 points 7 hours ago

Well, uh, mine is Kate. Not sure, if you need much selling on that, then.

I use it with an LSP server to provide highlighting and refactorings for Rust. Other languages are available.

The project-wide search & replace feature is really useful. It's available from the bottom bar.

In the settings, you can activate the "Filesystem Browser" plugin, which I sometimes prefer compared to the Projects view or the Documents view.

You can search for features with Ctrl+Alt+i.

In general, though, it's lightweight and easy to use. It's not going to win an award for a riveting new usage concept, which is why I like it.

[-] TheAgeOfSuperboredom@lemmy.ca 7 points 7 hours ago

Looks like jEdit just had a new release! I actually used it as my main editor 15 years ago before I sat down to learn Emacs. I thought it was pretty good back then.

Lapce is a newer one that looks interesting, though I haven't tried it. The page says modal editing can be toggled.

[-] gmhh@lemmy.world 3 points 6 hours ago

Lapce is definitely going on my to-experiment-with list.

[-] asciimage@sh.itjust.works 6 points 7 hours ago* (last edited 7 hours ago)

I haven't used it but Zed seems like what you might be looking for.

Here's what I know:

  • Open Source
  • Runs natively on Mac and Linux (no Windows support yet)
  • Made by the same folks who made Atom

It's a little new but It looks like it's worth a try

[-] jimmy90@lemmy.world 5 points 4 hours ago

i'm using Zed and it's really good at this early stage on Linux, you can avoid the AI stuff easily. only bad things i guess is that the extended ecosystem has obviously not had time to grow in the same way as vscode, just for time reasons

[-] gmhh@lemmy.world 2 points 6 hours ago

Zed's web page seems to come down pretty heavily on the pro-LLM side of things. Do you know if that can be toggled off or not?

[-] asciimage@sh.itjust.works 6 points 6 hours ago

It seems all AI stuff happens through the "Assistant Panel" and nothing is sent as long as you don't interact with it.

It seems you can disable the assistant feature it is opt-out though

[-] Sparrow_1029@programming.dev 3 points 7 hours ago

Zed's pretty new on the scene, but it's worth a look

[-] TheAgeOfSuperboredom@lemmy.ca 3 points 7 hours ago* (last edited 7 hours ago)

Helix also, but aren't ~~Zed~~ and Helix both modal?

edit: Huh. I just tried out Zed and looks like modal editing is optional.

[-] Sparrow_1029@programming.dev 4 points 7 hours ago

Helix is, but I don't think Zed is? At least not by default. It has a command palette and multi-buffer, multi-cursor, but not visual/normal/nsert/etc AFAIK

[-] gmhh@lemmy.world 0 points 6 hours ago

Helix looks interesting, but it won't work for me for some of the same reasons that Vim doesn't. Again, my calcified brain's problems and not a problem with those interfaces.

My limited understanding is that Helix's dev(s?) actually did work on Vim's codebase and want to put what they learned there to good use.

this post was submitted on 20 Sep 2024
25 points (90.3% liked)

Linux

7806 readers
165 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 1 year ago
MODERATORS