Live data from Hacker News

Show HN: Fresh – A new terminal editor built in Rust

sinelaw.github.io

51–60 of 158 posts

Re: Show HN: Fresh – A new terminal editor built in Rust

#51

I tried it, I like it a lot, but I did find an issue straight away. I'm on MacOS and I have remapped the fn and command keys so it can be more like Windows (I can't undo 20+ years of muscle memory, and also I just don't wanna) Anyway, Fresh seems to ignore the remapping - it's back to the command key for copy/paste and the command palette. Is there a way to access the dropdown menus by keyboard? I can see F underline…

I'll need to look into this, not sure what remapping does to the incoming key events. Also I'm already working on a ui for customizing the key bindings so you could do whatever you wanted. (Currently managed by undocumented json) Thanks for reporting!

This is probably not your responsibility. Modifier keys and especially rebinding them are really in the realm of the OS and the Terminal emulator. The application really shouldn't have to do special things to accommodate Mac OS idiosyncrasies.

Re: Show HN: Fresh – A new terminal editor built in Rust

#52

Installed it and out of the box this is the best new TUI editor I've tried, probably ever. There are so many great editors out there but I've never been a fan of modal editing, despite recognizing it's incredible power. My brain just doesn't work that way, yet I'm highly keyboard focused and prefer terminal over gui for most things, especially text. Great work on this! Very good performance but also a very good UX an…

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 :)

Re: Show HN: Fresh – A new terminal editor built in Rust

#53

Thanks for this cool project ! I was desperate to find more modern terminal editors with CUA mode. There is micro which is already good, but I wanted something more and hope your editor will fill that space.

Getting the system clipboard to work was hard until I found arboard - https://github.com/1Password/arboard

Re: Show HN: Fresh – A new terminal editor built in Rust

#54

Interesting license choice, would why did you choose version 2 instead of 3?

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.

If it's good enough for the Linux kernel, it's good enough.

Re: Show HN: Fresh – A new terminal editor built in Rust

#55

selection is broken on mac eg cntrl+shift+right switches terminal tabs

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.

Re: Show HN: Fresh – A new terminal editor built in Rust

#57
post #41

Earlier quoted context omitted.

Great! Just wondering maybe Bun (different JS engine) could do the job for plugins.

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

"Bun is a new JavaScript runtime built from scratch to serve the modern JavaScript ecosystem. It has three major design goals:

    Speed. Bun starts fast and runs fast. It extends JavaScriptCore, the performance-minded JS engine built for Safari. Fast start times mean fast apps and fast APIs.
    Elegant APIs. Bun provides a minimal set of highly-optimized APIs for performing common tasks, like starting an HTTP server and writing files.
    Cohesive DX. Bun is a complete toolkit for building JavaScript apps, including a package manager, test runner, and bundler.
Bun is designed as a drop-in replacement for Node.js. It natively implements thousands of Node.js and Web APIs, including fs, path, Buffer and more."

- From the homepage[1] - it's a shame they use semantic html but no anchors for direct linking.

1. https://bun.com/

Re: Show HN: Fresh – A new terminal editor built in Rust

#58
post #41

Earlier quoted context omitted.

Great! Just wondering maybe Bun (different JS engine) could do the job for plugins.

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

"Bun itself is MIT-licensed. JavaScriptCore Bun statically links JavaScriptCore (and WebKit) which is LGPL-2 licensed. WebCore files from WebKit are also licensed under LGPL2."

License compatible, probably safe from a rug pull?

Re: Show HN: Fresh – A new terminal editor built in Rust

#60
post #59

I had given up hope on ever finding an editor like this. Just did a little bit of browsing in a current project and WOW. Going to use this for the rest of the day and kick the tires. Well done!

Glad to end your search. Don't give up if you hit some glitches, please open issues and we'll get over them quickly.
Post reply on HN