Live data from Hacker News

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

sinelaw.github.io

151–158 of 158 posts

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

#152
post #146

If you are doing TUI, you can't miss Kakoune and Helix as popular editors. Add them to your comparison benchmarks.

Kakoune and helix are modal editors. They're largely based on a text selection mode (like the `v` and `V` commands in vim) with commands acting on the selected text, so they're somewhat more intuitive than vi or vim, but the notion of distinct 'modes' is still key to the workflow. Fresh is a mode-free editor; much like nano, Emacs or the new Rust-based MS Edit.

And your point is?

Neovim is there!

(Neo)Vim is the quintessential modal editor. If your comment is generated by an AI, please don't post comments again.

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

#153

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…

Alt+F should open the File menu. I guess that's Option+F on MacOS. Does that work?

no

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

#156

Earlier quoted context omitted.

Alt+F should open the File menu. I guess that's Option+F on MacOS. Does that work?

no

Did you try "use option as meta key"? https://superuser.com/questions/1038947/using-the-option-key...

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

#157
post #127

Looks like an interesting project! OP, I'm playing around with it a bit, but notice it only supports mouse input when running in terminal emulator under X, and doesn't support mouse events from GPM (in the way that mcedit does, for example).

Added GPM support, try latest master or release >= 0.1.25 (rolling out now)

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

#158

I'm a little annoyed that for a Rust based tool the recommended installation command is to use npm. Why? Is Cargo not good enough? Cargo seems exceptionally well to me.

I took the feedback and now you can install binaries in any of these methods: - Homebrew (MacOS) - Arch Linux AUR - Debian/Ubuntu .deb - Fedora/RHEL .rpm as well as cargo install (which builds from source), npm, npx or building from source by cloning

Can you add to cargo binstall to install directly binary?
Post reply on HN