52 points
*

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.

permalink
report
reply
29 points

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.

permalink
report
parent
reply
12 points
*

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.

permalink
report
parent
reply
1 point

Huh, I wonder where I got the shift from. Still kinda bonkers though.

permalink
report
parent
reply
5 points

Vim users:

y

permalink
report
parent
reply
2 points

Hell yeah, Micro master race. It gives me VSCode feels on the CLI. It’s great ❤️

permalink
report
parent
reply
1 point

Only thing missing is code block folding and unfolding functionality

permalink
report
parent
reply
46 points

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

permalink
report
reply
10 points

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.

permalink
report
parent
reply
9 points

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.

permalink
report
parent
reply
5 points

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.

permalink
report
parent
reply
2 points

There are already good answers to this, so I just add that yes, I’ve used vim/neovim for about 20 years before starting to use helix. I’m very familiar with the editor.

permalink
report
parent
reply

I used vi and then neovim for about 20 years (like the other @pimeys). I switched to kakoune first because nvim’s plugins were a mess and the LSP integration was unreliable. With all the plugins needed to get a decent dev editor, startup was starting to get slow. Kakoune had multi-select. But mainly, I switched because one necessary plugin (I think it was the LSP one) insisted on starting a nodejs server. Plugins were written in whatever, and running nvim meant spawning Ruby, Python, NodeJS, and whatever else processes; I switched because the nvim ecosystem was getting as bloated as EMACS.

I bounced from Kakoune to Helix after a couple of years, because Kakoune relies heavily on chording, and modality (pressing a key to get into a mode to do something or some things) is superficial; Helix makes much greater use of modes, often nested, and feels much more faithful to the vi philosophy to me. Also, Tree-Sitter is a disruptive technology.

permalink
report
parent
reply
2 points

Why is Tree-Sitter a disruptive technology?

permalink
report
parent
reply
3 points

I agree. I think the fact that it’s built around multi cursor edition and a selection -> action paradigm as opposed to vim’s action -> selection is going to become the norm slowly and surely.

permalink
report
parent
reply

Dammit, you beat me to it.

It’s such a great editor.

permalink
report
parent
reply
2 points

ay, I was going to say that. Use it on all my boxes as a vi replacement.

permalink
report
parent
reply
1 point

I’ve never heard of it, but I like the sound of the name :)

permalink
report
parent
reply
35 points
*

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:

I use Helix for quickly editing files and coding

permalink
report
reply
6 points

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.

permalink
report
parent
reply
2 points

You can also use Intellij Ultimate, the only big missing features are project config if you have mismatched versions of Gradle/AGP/Kotlin as well as the profiler.

permalink
report
parent
reply
5 points

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.

permalink
report
parent
reply
5 points

This does sound cool and catches my interest.

permalink
report
parent
reply
3 points

I really like Helix! When the plugin system comes it will be great, because it’s definitely missing some key features

permalink
report
parent
reply
30 points

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

permalink
report
reply
5 points

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

permalink
report
parent
reply
4 points

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.

permalink
report
parent
reply
2 points

It really is amazingly fast but also so extensible!

permalink
report
parent
reply
20 points

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.

permalink
report
reply
9 points

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.

permalink
report
parent
reply
4 points

Haha ever used it on Windows? Damn thats weird

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

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

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

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

Community stats

  • 9.6K

    Monthly active users

  • 5.8K

    Posts

  • 162K

    Comments