Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
_sinelaw_
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
61.
▲
by
_sinelaw_
11mo ago
Sure, cargo install fresh-editor
62.
▲
by
_sinelaw_
11mo ago
Check out the nostalgia theme, built in: https://raw.githubusercontent.com/sinelaw/fresh/refs/heads/m...
63.
▲
by
_sinelaw_
11mo ago
The npm distribution here is just the binary, you run npm install again and it upgrades to the latest binary. That's convenient
64.
▲
by
_sinelaw_
11mo ago
That (security ) is something I also worry about. I'd like to get off npm if only for this reason. It's a hack to get started. The other thing it gives you is the ability to easily upgrade and uninstall so just a script to copy st
65.
▲
by
_sinelaw_
11mo ago
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)
66.
▲
by
_sinelaw_
11mo ago
I considered using mmap to help manage the caching but what if your file is hosted on S3 or whatever? (Something I'm planning to support eventually) So I opted for explicit management of chunks, also gives me more control and consisten
67.
▲
by
_sinelaw_
11mo ago
No, but that's a good idea, I'll add that
68.
▲
by
_sinelaw_
11mo ago
I did it because not everybody has cargo installed. I'm using cargo-dist to create this npm package.
69.
▲
Show HN: Fresh – A new terminal editor built in Rust
(sinelaw.github.io)
187 points
by
_sinelaw_
11mo ago
|
150 comments