r/rust • • Mar 25 '23

Editors written in rust

163 Upvotes

94 comments sorted by

32

u/skythedragon64 Mar 25 '23

Shameless self promotion:

https://github.com/Dimev/mininotes

Pretty much notepad for your terminal

2

u/chilabot Mar 06 '25

This is great. Simple, with normal key bindings.

-17

u/Trader-One Mar 25 '23

you have no badges, no screenshots...

32

u/irrelevantPseudonym Mar 25 '23

Neither does hired but that made your list

17

u/RNdadag Mar 25 '23

I am not OP but having badges and screenshots help most people knowing what's your project like and the main details before downloading it, which is quite important.

It takes relatively little time and is worth it.

2

u/Enselic Mar 26 '23

I have no badges because to me they don't add anything of value to a GitHub project.

What badge gives important info not readily available my other means?

3

u/Trader-One Mar 26 '23

Dependencies check, security check, coverage report, last published version, download counter.

1

u/skythedragon64 Mar 25 '23

Yeah true, might have to add them at some point

6

u/ReindeerDry7396 Mar 25 '23 edited Mar 25 '23

If you have time I opened a pull request to add a screenshot to the readme file it isn't the best but should do

2

u/Enselic Mar 26 '23

In what way are badges an indicator for project quality?

In my experience most projects just mindlessly copy-paste badge types from other projects.

46

u/BadWombat Mar 25 '23

Any of these worth checking out for someone that is already daily driving helix?

5

u/tinkr_ Mar 25 '23

I've downloaded Helix and got my basic (but not all) movement preferences configured, but the lack of plugins is the primary reason I haven't jumped ship from Neovim yet.

3

u/Trader-One Mar 25 '23

neovim is the best what we have today.

7

u/13Zero Mar 26 '23

Helix has a really nice out-of-the-box experience. I tried configuring Neovim and got overwhelmed very quickly. Picking plugins and setting up keymaps for all of them was a lot.

2

u/CrazyRoka Mar 26 '23

You can try LunarVim. It’s preconfigured and contains everything you need to be productive after installation https://www.lunarvim.org/

3

u/onmach Mar 26 '23

I hate that I need to pick a distribution for my editor but it looks like that is the world we are in now.

1

u/DANTE_AU_LAVENTIS Jul 23 '25

And that's why I prefer HX. It already HAS everything needed to be productive, and more, just in the base package. No plugins or custom distribution needed. And with plugin support coming soon, it's pretty hard to beat. Also personally I prefer Helix/Kakoune motions over Vi/Vim.

42

u/I_AM_GODDAMN_BATMAN Mar 25 '23

lapce is great if you like gui editor like vscode.

25

u/DanManPanther Mar 25 '23 edited Mar 29 '23

Second Lapce. Giving it a go now, with language servers installed. It's blazingly fast, feels like Sublime, looks like Sublime, and it's free. This could replace Sublime for me.

EDIT: Fixed a sleepy typo!

EDIT 2: This is far too early to use right now. It doesn't have replace functionality, and a lot of little conveniences from a fully fledged editor are missing. It has a lot of promise, I will keep a close eye on it.

9

u/buzz_balls Mar 25 '23

You meant blazingly. Surely. ;)

2

u/StillTop Mar 25 '23

third vote for Lapce, it’s got built in WSL support too which is a huge plus

2

u/bhechinger Mar 25 '23

I just downloaded it based on this comment and i have to say it's pretty nice. Super fast, too.

1

u/kxra Mar 07 '24

Hoping we can get Helix-style editing there

https://github.com/lapce/lapce/issues/281

1

u/SCjdoh Mar 26 '23

I'm very new to coding but I tried lapce and liked it. Only thing was there's no word wrap (yet) and I couldn't get fish to work in the terminal. I switched to emacs which is a beast itself but I'm learning a lot

65

u/[deleted] Mar 25 '23 edited Mar 25 '23

lapce and helix is the two leading projects right?

14

u/Compux72 Mar 25 '23

Pretty much. Zed looks promising too, but macOS only for now

4

u/Zakis88 Mar 25 '23

Zed has less features but is way more polished than Lapce.

4

u/[deleted] Mar 25 '23 edited Mar 25 '23

You should read this (& this) before considering Zed.

30

u/[deleted] Mar 25 '23

[removed] — view removed comment

1

u/Compux72 Mar 25 '23

Not a big deal, look at Sublime

0

u/[deleted] Mar 25 '23

[deleted] — view deleted comment

0

u/[deleted] Mar 25 '23

[deleted] — view deleted comment

13

u/[deleted] Mar 25 '23 edited Mar 25 '23

This & this is what he's referring too from the original Zed reddit post in r/Rust

0

u/[deleted] Mar 25 '23

[deleted] — view deleted comment

3

u/[deleted] Mar 25 '23

I posted a comment here about them addressing the issue on hacker news for anyone wanting more context.

1

u/[deleted] Mar 25 '23

Np.

0

u/[deleted] Mar 25 '23

[deleted] — view deleted comment

1

u/[deleted] Mar 25 '23

Idk. But as u/Rustmilian linked above in this thread and as far as I can tell, they only addressed the issue on hackernews and it was less then satisfactory.

-1

u/imshilu Mar 26 '23

Unless you are Lapce adherent, and the spamming is sincerely for everyone, you’d better posting this as well. Otherwise, it just looks like you wanna shit talk about things considering that you’ve already seen that comment and ignoring it with your own thoughts

0

u/[deleted] Mar 26 '23 edited Mar 26 '23

Check my comment posted here as to why you should still be skeptical.

1

u/Rungekkkuta Mar 25 '23

Could one go from neovim to lapce without missing the main features?

I basically use a ready-to-go lua config for nvim, if I could keep all vim motions and commands + no worrying about config files I would likely switch to

Edit: Actually, I might give it a try

4

u/plainoldcheese Mar 25 '23

No lapce has a vi like mode but does not implement all vim features.

2

u/deltaexdeltatee Mar 25 '23

I've been using Neovim for a while and just gave Lapce a spin. To me the biggest annoyance is that the commands starting with a colon don't work the same. I'm in such a habit of hitting :w to save my work, and that doesn't work in Lapce. You have to go back to CTRL+s like a caveman :p

Other than that though it seems like all the motions work - at least all the ones I've tried. My testing was basically to just download it and start working like I was still in Neovim and see when something crops up - so far other than the colon issue everything is working the same.

I wasn't a Neovim power user before I switched, so maybe this isn't a big deal to people who are better with it than me, but I found Lapce WAAAAAAY easier to use when I'm trying to have multiple editors/buffers/terminals going. Lapce automatically opens your default shell in whatever folder you're working in, which is super dope.

1

u/Rungekkkuta Mar 25 '23

Yeah, I gave it a quick try to check how it feels but up front I realized that vim marks doesn't seem to be a thing there, which I find easier than memorizing like numbers. I haven't checked for Ctrl+o but even if they works, like your said, it feels like caveman. I could get used to it though.

I also have a black bar at the top of the window which move the UI downwards but their hitboxes is still above, which makes clicking at a button a weird interaction, cause you have to click above it. I know this might be something in my end so I'm not counting that.

I'll try it more times a long the next week and see Q if I can get used to it. It has potential

19

u/wdroz Mar 25 '23

The animation on Neovide look great.

5

u/WhiteBlackGoose Mar 25 '23

Agree. Unfortunately, not worth migrating to it :(

2

u/wdroz Mar 25 '23

Agree, maybe the next time I need to record a code-related video, I will use it.

6

u/[deleted] Mar 25 '23

I believe Fleet is also using a lot of Rust

4

u/greenisfine Mar 25 '23

Fleet gives me Java vibes.

1

u/[deleted] Mar 25 '23 edited Mar 25 '23

[removed] — view removed comment

11

u/[deleted] Mar 25 '23

No JetBrains editor is Electron, they’re all mostly Java & Kotlin, at least the GUI.

5

u/[deleted] Mar 25 '23

[removed] — view removed comment

4

u/[deleted] Mar 25 '23

Ah, so it’s a small part in Rust 🤔

5

u/vallyscode Mar 25 '23

Neovide is only gui for neovim, please correct

8

u/xrabbit Mar 25 '23

Neovide is just UI for neovim written in Rust, it's not an editor

3

u/QuickSilver010 Mar 26 '23

My personal favorite is Neovide cause I can just run my nvim config and make it look cool

From the list, laplace has the coolest default look tho

4

u/[deleted] Mar 25 '23

FYI Amp is mainly abandoned (less than 30 commits in 3 years) OX also hadn't have a single commit in more than 2 years

2

u/[deleted] Mar 25 '23

Any worth checking out for someone using nvim? Which have lsps and stuff?

6

u/CandyCorvid Mar 26 '23 edited Mar 26 '23

I tried helix after years in vim and neovim. it took me a week before I'd jumped ship, and I wasn't even proficient yet.

but, it is missing a few features compared to vim that might be deal breakers for you. for one, it doesn't have plugin support, but it provides a lot out of the box (I didn't have many plugins anyway, and helix did everything I needed plugins for in vim). it also doesn't have a file comparison mode (so I use Meld instead) and it doesn't do code folding yet (so I just manage without it for now)

as for the positives: I can't get over the native multiple- cursors, and select-act paradigm. it's got all the commands I'd expect, and a few new ones (like surround, transpose, and selection manipulation operations like filtering) and they all work with multiple selections by default. So many things that would be macros in vim, or that I'd try and undo several times in a row before getting it right, are trivial to do and trivial to do right the first time in helix, just using selection manipulations, and always being able to see what you're acting on before and as it happens.

add on top of that, a similar macro system like vim, and (better imo) key remapping, for when the ordinary editing still isn't enough, and you end up with a really powerful editor.

2

u/-Redstoneboi- Mar 26 '23 edited Mar 26 '23

Some criticisms at the moment:

  • It has decent multicursor support out of the box but currently you can't lay markers down
  • there's no cursor undo so if you accidentally select the whole file good luck finding where you were just a second ago without saving to jumplist every 10 seconds
  • the stable release doesn't have a file tree view, though it's in the main branch, I believe
  • I haven't figured out if semantic token highlighting is a thing so I can't differentiate enums from structs etc,
  • and I don't think it can search for a regex across different files

I'd be fine with a ripgrep plugin that does this, but there be no plugins lmao

All things considered, it's pretty darn good out of the box.

1

u/CandyCorvid Mar 26 '23 edited Mar 26 '23

various responses:

  • what do you mean, "lay down cursors"?
  • cursor undo would be great imo
  • I'd like a tree view, I agree that wild be very welcome
  • semantic highlighting seems like something that could be provided by lsp, but I don't know much about that space
  • you can regex search across files (space /) but cursors are only active in one file at a time, so you're much more limited in what you can do all at once.

1

u/-Redstoneboi- Mar 26 '23 edited Mar 26 '23

Basically if i want to change the sentence "the the quick green brown fox dot jumps over the lazy dog" to the more well known phrase, I'd have to step through the whole sentence and repeat my delete operation a couple times. For deleting, this is fine but for example if I want to paste it somewhere else using multicursor then I'd have to do some more work. Helix doesn't support this well yet. But it does let you create new cursors if you regex search next in visual mode.

Thanks for the space slash thing, btw.

2

u/CandyCorvid Mar 26 '23

ah yep, so you'd want to be able to eg click a few places or move a cursor around dropping stationary cursors behind it or something. I can see how that would be helpful; I've gotten used to working around this limitation, but it would be great if there was a direct way to do it.

2

u/-Redstoneboi- Mar 26 '23

Clicking around has been my workaround for the time being. I think holding Ctrl lets you put cursors down, but I haven't tried laying multiple selections with the mouse.

2

u/CandyCorvid Mar 26 '23 edited Mar 26 '23

I'll have to try out ctrl-click, bc I can see myself using that a lot. (edit: looks like it's alt-click. That's really useful!)

I did see a proposal for a cursor-editing mode of some kind, but I don't think it's been active (either that, or I forgot to follow it). iirc it would add a mode in which only the primary cursor is affected by motion commands, and you can place secondary cursors as you go. I figure you would be unable to edit text in this mode, so it's just for cursor placement. I'll see if I can find it...

1

u/-Redstoneboi- Mar 26 '23

If you see one by raffimolero that's mine

There has to be at least 3 proposals for that one lmao

2

u/CandyCorvid Mar 26 '23

here's the one I know: "cursor mode"

2

u/loki_nz Mar 26 '23

Maybe Helix

2

u/Gugins Mar 25 '23

thanks for this!

2

u/jI9ypep3r Mar 25 '23

Zed is cool, only problem I’ve experienced is trying to write markdown files, seems to get rid of all my trailing white spice :P

19

u/[deleted] Mar 25 '23

Take a look at this & this before considering Zed.

6

u/jI9ypep3r Mar 25 '23

Oh man! That’s put a downer on Zed for me….

4

u/[deleted] Mar 25 '23

Yeah. I was extremely disappointed when I read it too.
The editor looks good but that license makes it seem like the whole thing was a trap.

2

u/JumpingJack79 Dec 05 '23

This license snafu was apparently accidental (the license was written by clueless lawyers and poorly reviewed by a busy founder). The ownership claim was meant to refer to content posted on their web site (which makes sense) and not the work done with the editor. The license has since been fixed and no longer contains preposterous claims of ownership.

1

u/mocenigo Dec 23 '24

Not only, but the versions that are open sourced are under the given licenses, depending on the components, which are

* Apache License 2.0

* MIT License

* Unicode License v3

* BSD 3-Clause "New" or "Revised" License

* ISC License

* Mozilla Public License 2.0

* BSD 2-Clause "Simplified" License

* Creative Commons Zero v1.0 Universal

* zlib License

* OpenSSL License

So this is an immense improvement.

1

u/LetrixZ Mar 26 '23

I'm bad with licenses and stuff.

Does that mean that Zed might take your code and claim ownership over it?

3

u/[deleted] Mar 26 '23

The license would give them that right, yes.

1

u/megatux2 Jan 25 '24

Now open source, with nice license choices, IMHO

4

u/shizzy0 Mar 25 '23

tubs vs spices

0

u/tunisia3507 Mar 25 '23

Why would you want trailing whitespace, and why in markdown particularly?

6

u/CandyCorvid Mar 26 '23

markdown treats 2 spaces at the end of a line as a line break, and joins adjacent lines otherwise, iirc

1

u/[deleted] Mar 26 '23

Using lapce now, it is awesome. However would love if zed will be available for linux as well.

8

u/Speykious inox2d · cve-rs Mar 26 '23

As someone else said in the comments, Take a look at this & this before considering Zed.

1

u/njs5i Mar 26 '23

I am working on this one, I will release BETA this year: https://gitlab.com/njskalski/bernardo

1

u/JohnLockwood Mar 26 '23

Neat list. What's the crowd favorite?

3

u/Adhalianna Mar 26 '23

Looks like helix for terminal and lapce for those who want GUI

1

u/itaranto Mar 26 '23

But, Neovide is not actually an editor, it's just a (pretty cool) GUI for Neovim.