HNHacker News
TopNewBestAskShowJobs

_sinelaw_

155 karma · joined December 3, 2025

submissionscomments
_sinelaw_··on Show HN: Fresh – A new terminal editor built in Rust
Thanks! Will take a look. Opened https://github.com/sinelaw/fresh/issues/231
_sinelaw_··on Show HN: Fresh – A new terminal editor built in Rust
Thanks! Don't hesitate to report even minor annoyances (e.g. github issues)
_sinelaw_··on Show HN: Fresh – A new terminal editor built in Rust
Will do. https://github.com/sinelaw/fresh/issues/229
_sinelaw_··on Show HN: Fresh – A new terminal editor built in Rust
Thanks for testing that! I'll bump the keybinding thing too.

Getting included in distributions is a worthy goal... So many things to do

_sinelaw_··on Show HN: Fresh – A new terminal editor built in Rust
You can use: cargo install fresh-editor

Or you can use npm

Or you can download release binary packages from Github releases.

The problem is which option to make more prominent / first

_sinelaw_··on Show HN: Fresh – A new terminal editor built in Rust
I see extension language choice as a user-facing UX decision, and convenience is a leading concern.
_sinelaw_··on Show HN: Fresh – A new terminal editor built in Rust
ctrl+shift+up/down - not sure what you mean it to do?

In VSCode it adds multiple cursors directly above/below.

In other editors I think it moves (shifts) the current line up or down.

_sinelaw_··on Show HN: Fresh – A new terminal editor built in Rust
Good point, I'll change it to something more sensible with action-based options instead of y/n. https://github.com/sinelaw/fresh/issues/226
_sinelaw_··on Show HN: Fresh – A new terminal editor built in Rust
Then use: cargo install fresh-editor

I've documented that as well it just isn't the first option listed

_sinelaw_··on Show HN: Fresh – A new terminal editor built in Rust
I'm a big emacs user for many years but the amount of config tweaking and package installation needed (for me) is too much. And I never made it past the elisp learning curve
_sinelaw_··on Show HN: Fresh – A new terminal editor built in Rust
As it's statically linked I don't see a reason it shouldn't work in any much older Linux as well. But I haven't tried yet.
_sinelaw_··on Show HN: Fresh – A new terminal editor built in Rust
If you use WSL in Windows it works fine (or so I've heard). Getting it to work properly on native Windows is a gap. I tried various quick fixes like using a different backend but they didn't help much.

Thanks for reporting!

_sinelaw_··on Show HN: Fresh – A new terminal editor built in Rust
Maybe I should see if I can support either one (e.g. cargo feature flag) for insurance
_sinelaw_··on Show HN: Fresh – A new terminal editor built in Rust
Completely agree - Claude multiplied my productivity in this case by a factor of 3 at least. It took ~3 weeks "wall clock time" - worked around the clock pretty intensely (got hooked! I love this) so maybe more like 1 month of normal working hours. Would have taken a lot longer than that without Claude Code and I would have given up before reaching this state.
_sinelaw_··on Show HN: Fresh – A new terminal editor built in Rust
Happy you like it, use github issues liberally if you hit any annoyances
_sinelaw_··on Show HN: Fresh – A new terminal editor built in Rust
Glad to end your search. Don't give up if you hit some glitches, please open issues and we'll get over them quickly.
_sinelaw_··on Show HN: Fresh – A new terminal editor built in Rust
Which terminal are you using? (I'm not a MacOS user so less familiar). That's a shame, but I guess the only fix is for you to change the terminal shortcuts because the in-terminal programs will just not receive those key events.

Or maybe try using a single tab in your terminal, maybe that will let the key pass through?

Anyway I need to add keybinding UX or maybe a different default set of keys for MacOS? hmm.

_sinelaw_··on Show HN: Fresh – A new terminal editor built in Rust
Getting the system clipboard to work was hard until I found arboard - https://github.com/1Password/arboard
_sinelaw_··on Show HN: Fresh – A new terminal editor built in Rust
I built my UX on the shoulders of giants, inspired by WordPerfect 5, Turbo Pascal, and similar legendary heros of the early 90s. Plus a command palette like VSCode.

Thank you :)

_sinelaw_··on Show HN: Fresh – A new terminal editor built in Rust
Didn't know about vlf!

It loads instantly, and memory usage is minimal <80 MB.

It does seem like vlf requires configuration and adjustment, e.g. navigation with the normal keys works differently (jumps to beginning/end of current chunk instead of the whole file). Basically it exposes the chunk concept to the user.

In Fresh it's designed into the core and should be more transparent (although there are still limitations).

_sinelaw_··on Show HN: Fresh – A new terminal editor built in Rust
Alt+F should open the File menu. I guess that's Option+F on MacOS. Does that work?
_sinelaw_··on Show HN: Fresh – A new terminal editor built in Rust
I need to think about that still, you raise a good point. I'd like people to be able to use parts of the source pretty much freely, but I wouldn't want someone to replicate the entire editor as a proprietary closed-source product.
_sinelaw_··on Show HN: Fresh – A new terminal editor built in Rust
Anthropic Bun? :) I didn't realize it was an engine as well. I can take a look but we should wait and see where the acquisition takes it
_sinelaw_··on Show HN: Fresh – A new terminal editor built in Rust
Sublime, Atom, VSCode, and now Zed are all GUI-based. That's not bad - but I prefer the terminal (and I find tmux + ssh very convenient). I guess it's a matter of personal taste.

For terminal based, there are also many options but not so much in the direction of "VSCode style". They're mostly focused on being "vi-style". And also the huge file support isn't as good in any of the others that I've tried.

_sinelaw_··on Show HN: Fresh – A new terminal editor built in Rust
I've been mulling over vscode extension compatibility... There is a challenge there, because the API surface is non-trivial and some of it is "web-ish". I wouldn't want people to be disappointed if 60% of the plugins they try to use don't really work properly.

Also, there are nuances like VSCode exposing APIs that force the entire file to be in-memory (which is how VSCode works), this is fine but in my editor I'm trying to get extensions to work well even if the file is huge (encouraging incremental / partial stuff).

But yes, it's a very compelling vision... and part of the reason I chose TypeScript.

Thanks for the input :)

_sinelaw_··on Show HN: Fresh – A new terminal editor built in Rust
Thanks and if you encounter any issues (even minor annoyances) let me know (e.g. open a github issue), I want the experience to be smooth
_sinelaw_··on Show HN: Fresh – A new terminal editor built in Rust
Honestly it reflects on my, uh, experience - I still think of GPLv3 as a "new" license.

I don't have a particular reason. Maybe I should switch.

_sinelaw_··on Show HN: Fresh – A new terminal editor built in Rust
Thanks for reminding me. Unfortunately yes, it's because of v8 (for Deno).

For extensions, the choice was either TypeScript (and get this bloat) or go with Lua and a much smaller binary (but less popular language).

But - I just realized stripping it brings it down to 76MB so I guess that's ok! Will push a commit :)

_sinelaw_··on Show HN: Fresh – A new terminal editor built in Rust
Sure, cargo install fresh-editor
_sinelaw_··on Show HN: Fresh – A new terminal editor built in Rust
Check out the nostalgia theme, built in: https://raw.githubusercontent.com/sinelaw/fresh/refs/heads/m...
← PreviousPage 2 of 3Next →