this post was submitted on 05 Oct 2023
130 points (97.1% liked)

Linux

48209 readers
729 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 5 years ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] fartsparkles@sh.itjust.works 52 points 1 year ago* (last edited 1 year ago) (3 children)

Micro - not quite as fancy as Helix but it’s a static binary, bells and whistles included, and ready to go without config. If you’re still using nano/pico, micro is a nice step up in functionality without the complexity of vim et al.

Multiple cursors, splits and tabs, mouse support, syntax highlighting, keyboard shortcuts that are more noob-friendly / familiar, it’s great.

[–] caseyweederman@lemmy.ca 29 points 1 year ago (2 children)

I don't know why Micro hasn't completely replaced Nano in the Linux world.
Wait, yes I do.
Despite believing it to be better in every way, my dumb fingers keep automatically reaching for the Nano keyboard shortcuts.

You know what the key combo is to copy a selection of text in Micro?
Ctrl C, why would it ever be anything else?
You know what the key combo is to copy a selection of text in Nano?
Fucking shift, alt, 6.
6!!

And then Ctrl U to paste. I hate that I'm used to that.

[–] Shdwdrgn@mander.xyz 11 points 1 year ago* (last edited 1 year ago) (2 children)

Never heard of that key combo in nano before, I've always used ctrl-K (which actually cuts, then I have to paste it back again if I want to leave that text in place).

[Edit] Looks like you only need to hit alt-6, not shift-alt-6, to copy a full line or whatever text has been highlighted.

load more comments (2 replies)
[–] 30p87@feddit.de 5 points 1 year ago

Vim users:

y

load more comments (2 replies)
[–] pimeys@lemmy.nauk.io 46 points 1 year ago (5 children)

Helix. A perfect programmer's editor you can use with almost no config.

[–] teawrecks@sopuli.xyz 10 points 1 year ago (10 children)

Interesting. Have you spent any time with neovim? If so, I'm curious how they compare. I was just starting to investigate the nvim ecosystem, but it's quite daunting. Still, I like the idea of everything being open source, and using plugins to augment my workflow.

[–] nous@programming.dev 9 points 1 year ago (1 children)

Helix was inspired by neovim. Though mostly the inbuilt LSP/tree sitter support. Its keybindings are a mix between what neovim has and kakoune, though closer to kakoune I think. The major advantage IMO that helix has over neovim is built in support for most things you need plugins for in neovim as well as sane defaults out the box. You don't need 10s of plugins and 100s of lines of config to get helix to work like a modern editor - it just does out the box. All you need to do is install the LSP server for the languages you are interested in and launch helix.

The major downside ATM is it has no plugin support at all. Which is not as bad as it sounds as it includes so much out the box that you would typically require plugins for in neovim. They are working on plugin support though so it is only a matter of time for this to be fixed. Currently I don't feel the need for any plugins when using it so IMO it is not a deal breaker for me or my workflow. But the need to manage large configs and sets of plugins had already become too cumbersome in neovim for my liking.

[–] natecox@programming.dev 5 points 1 year ago

I thought lack of plugins was going to be a deal breaker and now I’m kind of on the “do we really need plugins at all” side.

Helix out of the box is really nice.

load more comments (9 replies)
load more comments (4 replies)
[–] 2kool4idkwhat@lemdro.id 35 points 1 year ago* (last edited 1 year ago) (4 children)

Helix

I'd describe it as "NeoVim for people who don't want to spend time configuring it". It has syntax highlighting (for pretty much any language you can think of) and LSP support out of the box. And the config file is just a TOML file. Here's my current config for example:

theme = "monokai_pro_spectrum"

[editor]
line-number = "relative"
middle-click-paste = false

[editor.statusline]
mode.normal = "NORMAL"
mode.insert = "INSERT"
mode.select = "SELECT"

That's it. No need to deal with Lua or VimScript

Also using commands after typing the : is easier than in NeoVim since Helix will show you a list of available commands and a description of the closest match (or the one you choose from the list with the tab key). It looks like this: Screenshot of Helix

I use Helix for quickly editing files and coding

[–] dessalines@lemmy.ml 6 points 1 year ago (1 children)

Same, I switched to helix about a year ago, and do all my coding (except for android because of they don't make it easy to not use android studio).

I was on vim for decades, but helix is finally the one that's powerful enough to make me switch.

load more comments (1 replies)
[–] InternetCitizen2@lemmy.world 5 points 1 year ago

This does sound cool and catches my interest.

[–] lemon@sh.itjust.works 5 points 1 year ago

Another vote for hx!

Getting a productive setup for Python work is a matter of a few extra lines of TOML. The pre-release version on master also allows for multiple LSPs per language, which means I can combine pyright with ruff.

The modal key chords are verb-object instead of object-verb. It’s not a main selling point to me. However, you get multi-cursors out of the box, which I’ve always found simpler than e.g. macros. In general, keybindings are discoverable. I learn something new every week.

All in all, despite a few rough edges, it’s a nice alternative to needing to get a PhD in neovim configuration to get anywhere remotely near the cool setups other people are rocking.

load more comments (1 replies)
[–] Pantherina@feddit.de 30 points 1 year ago (2 children)

Kate. Its such a brilliant foundation.

I currently have no idea of how to do it but in theory you can add any languages autocomplete, as well as huge libraries of auto-text (like in VSCode, templates for code stuff).

And its fast, unlike stupid electron VSCodium

[–] dragnet@lemmy.dbzer0.com 5 points 1 year ago

Yes! It is beautiful and easy to work with, very much my tool of choice for coding.

[–] amazing_stories@lemmy.world 4 points 1 year ago (1 children)

I'm a new Kate convert. I had some issue on my system where GTK apps would break under Nvidia, something to do with font rendering. I tried Kate and was like "cool it works" and then I discovered how amazing and lightweight it is. Great editor.

load more comments (1 replies)
[–] panbroggi@feddit.it 20 points 1 year ago (1 children)

Kate is my togo. With a terminal panel and latex->Unicode plugin is perfect for julia. I don't need it, but you can also set up its LSP client.

[–] mokazemi@discuss.tchncs.de 9 points 1 year ago (1 children)

I also like Kate. I use it for Python, Html/css and some other stuff. I really like it since it's light and fast but full of features. Also integrates well with my desktop.

load more comments (1 replies)
[–] neytjs@lemmy.ml 19 points 1 year ago (2 children)

I use Pulsar for working on my many JavaScript projects. It's a FOSS, community-maintained replacement for the canceled Atom text editor.

https://github.com/pulsar-edit/pulsar

[–] Panda@programming.dev 10 points 1 year ago (1 children)

Oh this is awesome! I really missed Atom and VSC just isn't the same.

Thank you for sharing!

[–] Daeraxa@lemmy.ml 6 points 1 year ago

Glad you found us at least :) Those were the exact reasons we wanted to keep it alive, I tried but I just can't get used to VSC having used Atom for so long.

[–] Daeraxa@lemmy.ml 8 points 1 year ago (1 children)

Yay, always nice to see people mention it (outside of myself just shouting it into the void :P) - we are active on Lemmy now at !pulsaredit@lemmy.ml too.

load more comments (1 replies)
[–] Klaymore@sh.itjust.works 18 points 1 year ago

I've been using Lapce for a bit and it's pretty cool, like VSCode but written in Rust. It's actually so much faster, like you press a key and there's instantly autocomplete suggestions and error warnings, so it feels a lot more responsive than VSCode. It also opens faster. There's still a couple weird things and missing functionality though because it's early in development so I'll probably go back to VSCode for now.

[–] recarsion@discuss.tchncs.de 17 points 1 year ago

Idk if it counts as less popular, but I always thought Sublime got too much flak. The popups are annoying, but other than that it's a great editor imo. It doesn't have the bells and whistles of something like VSCode or a full IDE, but that's also why I like it, it's much more snappy and lightweight. And you can still get things like LSP working so for me at least it gives me everything I look for in an editor. I even decided to pay for a license a few years back, considering I make my salary with this thing the cost is negligible.

[–] NemoWuMing@lemmy.world 16 points 1 year ago (2 children)

The original "ed" text editor, from 1969 Unix. Everyone should spend a few days trying to get some work done with it, if only to appreciate how we have nicer things now.

load more comments (2 replies)
[–] Quazatron@lemmy.world 15 points 1 year ago (1 children)

Geany. A real sleak, flexible and powerful editor.

You can use it to edit multiple lines simultaneously, perform extensive search/replace operations, etc.

It has plugins that can transform it from a humble notepad to a full IDE with code versioning support.

It often saves me from having to muck about with sed or awk in some tasks.

[–] fransschreuder@lemmy.world 4 points 1 year ago

I came here to say geany. I love the speed, simplicity and power. Use it every day for coding and other text things.

[–] Fredol@lemmy.world 15 points 1 year ago* (last edited 1 year ago) (1 children)

It's not exactly lesser known, but I only use Kate on both Linux and Windows

load more comments (1 replies)
[–] fubo@lemmy.world 12 points 1 year ago (3 children)

Before I got around to learning vi, I spent a few years using joe, which seems to have fallen out of active development (the last release was in 2018). It's a terminal-based editor that bears some resemblance to old DOS editors.

https://joe-editor.sourceforge.io/

[–] JaymesRS@midwest.social 5 points 1 year ago

I love Joe. And even though its last update was a while ago, it’s still my preferred editor.

load more comments (2 replies)
[–] bubstance@lemmy.ml 10 points 1 year ago* (last edited 1 year ago) (3 children)

I'll give you six that I haven't seen mentioned yet:

[–] mcepl@lemmy.world 5 points 1 year ago* (last edited 1 year ago)

I am trying to help with vis and it is a lot of fun to use. Aside from things where I really need neovim (because of large plugins), I use vis every day. Sam and ACME (and whole Plan9 for that matter) have the biggest problem with being too GUI oriented. They are from times when we discovered a mouse and then decided we need to use it for everything. Thirty years down the line we know better: we don’t.

load more comments (2 replies)
[–] HafizMuhammad@mastodon.social 10 points 1 year ago

@InternetCitizen2

Currently, I prefer using Helix.

[–] jsdz@lemmy.ml 10 points 1 year ago* (last edited 1 year ago) (2 children)

Ed Is The Standard Text Editor

I'm not saying it doesn't get a lot of shout outs, but it could always do with one more. I think the last time I used it was to automate the editing of config files on some antiquated telephony system by piping ed commands through netcat. There remains a chance that I might live long enough to find some excuse to use it again.

load more comments (2 replies)
[–] christos@lemmy.world 9 points 1 year ago (1 children)

I like xed for coding. Simple, costumisable enough, great experience.

load more comments (1 replies)
[–] tla@sopuli.xyz 9 points 1 year ago (1 children)
load more comments (1 replies)
[–] suprjami@lemmy.sdf.org 8 points 1 year ago

I am a huge Vim nerd, but I do a lot of copy-paste with one-off minor formatting in between. Sometimes Vim is more efficient at this, but often it really isn't and I'm quicker to use a dumb Notepad-like.

I've previously used Gedit in Gnome 2, Pluma which is MATE's equivalent, Xed which is Linux Mint's equivalent, and currently on Mousepad which is XFCE's equivalent. That's also mostly the history of my desktop environments over the last two decades.

[–] mfat@lemdro.id 8 points 1 year ago* (last edited 1 year ago) (4 children)

Kwrite. I write a lot of text at work and I hate using word processors. I use this app for its excellent autocomplete feature. You type a word once and for next instances you can use tab to auto-complete. Very convenient.

load more comments (4 replies)
[–] velox_vulnus@lemmy.ml 8 points 1 year ago* (last edited 10 months ago) (2 children)
load more comments (2 replies)
[–] Drito@sh.itjust.works 7 points 1 year ago* (last edited 1 year ago) (1 children)

I frequently use Howl

Distraction free, command autocompletion, Vim-like control is optional. I learned most of the commands by just opening the mini buffer (alt-x) then tab to watch the autocompletion list.

load more comments (1 replies)
[–] NewPerspective@lemmy.world 7 points 1 year ago (4 children)

A terminal editor named Nice Editor (ne). It just makes sense. Ctrl+s saves, Ctrl+q quits. It's a suped up nano with sensible keyboard shortcuts.

load more comments (4 replies)
[–] drwankingstein@lemmy.dbzer0.com 7 points 1 year ago (6 children)

I've been looking for a long time for a good alternative to sublime text.

however it's not really a text editor, it's more like a full IDE at this point, I really like lapce, it does have some bugs, but it's really lightweight and fast, and I like the UI a lot

load more comments (6 replies)
[–] Daeraxa@lemmy.ml 6 points 1 year ago* (last edited 1 year ago) (7 children)
  • Helix for terminal editing because I never got on well with the order you had to do things in Vim, Helix (and Kakoune) make more sense to me.
  • Lite-XL for a lightweight GUI editor. I just think its neat.
  • Pulsar for everything else (mainly because I'm involved with it, come visit us on Lemmy at !pulsaredit@lemmy.ml /shill). Literally over 10k packages for install and an awful lot of active development.

Edit: Using this to give a shout out to other projects I've come across on my travels:

  • Brackets/Phoenix - A community effort to keep the abandoned Adobe Brackets editor going, has a web version now, linux version still in the works after Adobe removed support for it.
  • CudaText - Pretty fast and supports a huge number of languages
  • eCode - Not used it in a while but is part of the eeep GUI project, lightweight and pretty interesting with lots of active development on both eCode and eeep.
  • Bitters - Very much an oddball here, inspired by the Canon CAT word processor/computer from the 80s with a really interesting "leaping" way of navigating text.
  • Aura Text - Interesting little editor written in Python

And some terminal ones:

  • Zee - an emacs-like editor written in Rust. Main repo seems to be dead but one of the Lapce devs is working on a fork of it - https://git.panekj.dev/pj/zee
  • Amp - another Rust based editor with some interesting ways to navigate text
  • dte - Just a nice terminal editor
  • moe - Vim-like editor written in Nim (not to be confused with GNU Moe)
  • Feather - Specifically for opening huge files
  • Tilde - Curses type interface, can be used with a mouse in some terminals
load more comments (7 replies)
[–] Ramin_HAL9001@lemmy.ml 5 points 1 year ago* (last edited 1 year ago)

Edwin

Edwin an Emacs-like editor programmed by some of the guys who maintain the MIT-Scheme programming language, which is (I think) the original implementation of the Scheme programming language developed by Gerald J. Sussman and Guy Steele (or a predecessor of it). To this day, MIT-Scheme continues to be one of the fastest Scheme implementations, producing extremely efficient binaries for a high-level language.

It is Emacs-like in nature, except instead of scripting it in Emacs Lisp, you use Scheme. Unlike Emacs, there are very few extensions available for it, so no Org-Mode, no Magit, no nice themes. The GUI version of it is so antiquated, it uses its own widget toolkit that is similar to the Athena Widget Toolkit.

Although I use Emacs for everything, I still love Edwin just because I like Scheme as a language better than Emacs Lisp. I wish I had more free time, I would like to help modernize Edwin. Although at this point it would probably easier to write a whole new Emacs-like editor using Guile Scheme instead, since there is a very active user community around Guile Scheme, especially among the Guix OS clique.

[–] Fizz@lemmy.nz 5 points 1 year ago (16 children)

Linux people seem to be obsessed with text editors. If I'm on windows I use notepad and on linux I use Kate or whatever the default is. What am I missing out on by not trying out different editors?

[–] Floey@lemm.ee 9 points 1 year ago

Linux users are more likely to be programmers and even if they aren't they often edit dotfiles (configuration) or write simple scripts to automate workflow. I also think Linux users just have a tendency to shop around until they settle on a favorite piece of software, even distro hopping is quite common.

[–] PlutoniumAcid@lemmy.world 8 points 1 year ago

Notepad is reeeally barebones, and that can be a good thing.

Check out Notepad++ if you ever need to work with text data more than just skimming a README file. You will see what these people mean.

[–] insomniac@sh.itjust.works 6 points 1 year ago

Nothing really. Kate does a lot of stuff. If you’re not a software developer, it doesn’t really matter. Different text editors have differing levels of support for various programming languages and some people like all the key bindings so they don’t have to take their hands off the mouse.

But if you’re just editing plain text and you’re not a keyboard only kind of user, it doesn’t really matter.

load more comments (13 replies)
[–] walden@sub.wetshaving.social 5 points 1 year ago

I like gedit. I like one or two of the built in themes. You can select a format on the bottom right (json, for example) and it'll highlight and change the color if certain things.

load more comments
view more: next ›