Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Txt: A fast, keyboard-driven terminal text editor for engineers (hellman.io)
20 points by jlundberg 4 hours ago | hide | past | favorite | 22 comments
 help



While they play up the keyboard-driven functionality, they showcase a pointer-driven workflow in the demonstration gif. Curious choice, no?

I came here to say this.

Me too.

Since going through the hassle of learning vim I can't use anything else anymore.

And for the use case of "I built txt because I spend most of my time in the terminal, and switching to a different tool just to make a quick edit always felt like friction I did not want. The editors that live in the terminal either have steep learning curves built around modal paradigms, or they are too limited to be genuinely useful."

it's literally only a handful of vim commands and shortcuts you need.


> Since going through the hassle of learning vim I can't use anything else anymore.

That sounds like an amazing investment, really makes me want to learn it too!


It's a shame that it ever felt like a hassle.

We should be introducing people to vim long before they are learning it under pressure. As you say, it's really not a lot to remember.


I can understand startups relying on AI tools to test out the ideas. But personal/hobby projects? Feels weird. This is not the place to go fast. Take your time, enjoy the process, learn/make things.

This is gonna be a hard name to google :)

> curl -fsSL https://raw.githubusercontent.com/ErikHellman/txt/main/insta... | sh

With the amount of new seemingly well polished personal projects being built (thanks to the help of LLMs) I feel increasingly concerned by how easy it is becoming to get a worm/virus/troyan to a lot of people.


And how is this different from downloading a file from a GitHub releases page? Or even installing from FlatHub with full fs perms (which would make sense for a text editor)?

I live in emacs over ssh connections. I never use the GUI, just TUI version (so `emacs -nw`) and love it. You can edit files over ssh hops or docker hops using tramp. I don't believe there is a tramp equiv. in other terminal tools. VS Code over SSH is much too heavy handed for quick single file edits but emacs handles it gracefully.

FYI: Claude has committed to the repo.

Since https://github.com/micro-editor/MICRO exists for some years now, a comparison would be welcome.

Also https://github.com/sinelaw/fresh which is micro "on steroids" (i dislike the expression but can't think of a better one now)

Came here to write exactly about those 2 editors which IMO are the best without a hassle to re-learn the shortcuts like ctrl-f to find, ctrl-s to save, ctrl-z to undo,... Less known, there is also tilde : https://github.com/gphalkes/tilde

“turbo charged”

reminds me of https://zed.dev/ ?

I can tell a README which is a long as that is not written by the author, but of course by Claude.

So, I ain't reading all of that.


A comparison with emacs and vim would be nice.

A comparison with editors like micro https://github.com/micro-editor/micro or fresh https://github.com/sinelaw/fresh (discussed in the comments) would make more sense than one with vim and emacs. The shortcuts are CUA based. And to me these editors feel more like using GUI editor like sublime text for example. And that's nice.

While vim and emacs have their advantages which I don't want to discuss here, they are also the "big players" with their own philosophy, shortcuts and commands. Which is a hassle to learn when you're used to GUI editors.

Why not let a little space for users who don't want to re-learn how to edit a file ?


Is this even still under development? Last non-renovate commit was early June

I miss the days when people would release software not touched by AI. And I wish at least there'd be a disclaimer saying that this was AI-assisted, so I could avoid it.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: