News for hackers. Stuff that matters.
Re:Fine, I'll build my own text editor by stillpointlab on Wednesday September 02, 2026 @01:51AM (#49532243)
I literally just got Fable to write me a text editor. Well, I'll be honest, I got it to wrap the KDE KTextEditor library which is like 90% of a text editor.

I had been using Kate which was what an LLM suggested was the closest to something like Sublime Text on Fedora. But even Kate, which was great, had too much going on.

So I asked Fable to take the text editor part (KTextEditor) and wrap it using Rust with an LSP server. It took about 2 days but I have a tiny, super fast little editor. I use Sway to manage things like tabs, fuzzel stands in for fuzzy file search, broot stands in for an explorer view. I've already added Markdown preview support. I might get around to some basic git integration.

Then I got it to turn that little editor into a note-taking interface that I have bound to a Mod-m key binding to keep notes in ~/Notes.

We live in wild times. I hope everyone is taking advantage while they can.

Re:Fine, I'll build my own text editor by brailsafe on Wednesday September 02, 2026 @02:11AM (#49532371)
> We live in wild times. I hope everyone is taking advantage while they can.

Yep, I'm taking advantage of the times by using the exact same tools I have been for years, and if those fail me, I'll pay for one of the multitude of other high quality editors offered by companies who's business it is to make them, so I get back to writing things in them instead of paying even more to companies trying to persuade me to believe that those products are obselete.

Re:Fine, I'll build my own text editor by stillpointlab on Wednesday September 02, 2026 @02:29AM (#49532482)
No shade on keeping using what is working. I was moving from Windows to Linux Fedora so I was in the market for a new editor. VSCode just wasn't working for me any more.

I considered a bunch of options, including vim or neovim or lazyvim, emacs, newer projects like zed. LLM gave a few more I can't recall including helix and Kate. There are so many good options these days, we're all spoiled for choice.

But the main thing is, and YMMV, I am not writing a lot of code anymore. I'm mostly reading/searching/navigating. So all of the powerful editing features are lost on me. No editors really match my current workflow, they all have too much.

So this was an opportunity to try something out, to experiment. See if I could do the real-deal vibe coding thing and judge the result. I just said "I want it to do ..." and then a few minutes later it did. I repeated this until it did enough to use as my primary editor.

I don't recommend it for anyone else, nor do I expect people to agree. Just describing my thought process.

Re:Fine, I'll build my own text editor by TonyStr on Wednesday September 02, 2026 @02:57AM (#49532683)
What features did you end up implementing? I assume tree-sitter based highlighting, lsp, and maybe fuzzy search? Did you implement anything different that you didn't get out of existing editors that you tried?
Re:Fine, I'll build my own text editor by stillpointlab on Wednesday September 02, 2026 @03:07AM (#49532768)
Very few features on purpose. Every editor I tested had all the features I added and more.

It is worth noting that KTextEditor is a fully-featured library. Like, line numbers+gutter (for eventual git status icons), undo/redo, save, warn on exit for unsaved changes, syntax highlighting, color theming. It does 95% of what we'd all call "editing". But it doesn't do things like tab interface, project explorer, terminal pane, output windows, etc.

What the library didn't have were LSP features, of which I only implemented a few (error squiggles under things that fail the type check, go to definition). Notable absent are completions and hover features for things like help. I also only added (and tested) LSP servers for typescript, Rust and Go.

My plan has been: do as little as possible until I need something, then ask Fable to add it.

edit: I guess one thing I added I didn't see everywhere else was a built-in Markdown preview. But many editors have that (VSCode definitely does) so it isn't special.

Re:Fine, I'll build my own text editor by dwedge on Wednesday September 02, 2026 @03:52AM (#49533146)
> Very few features on purpose

Not a criticism just an interesting sign of the times that this is ambiguous and before vibe coding it would have been obvious from the context which you mean (deliberately minimal) but now it could just as easily mean that Fable implemented features without asking you

Re:Fine, I'll build my own text editor by zahlman on Wednesday September 02, 2026 @04:51AM (#49533614)
I don't understand why you'd want to get an LLM to wrap up a text-editing library in what sounds like a pretty straightforward way, when there are already text editors using that library.

The reason I'm making one is because I have a whole separate idea about the design and an at-least-somewhat-distinct one about the editing paradigm.

Re:Fine, I'll build my own text editor by iLemming on Friday September 04, 2026 @10:24PM (#49572504)
> I'm mostly reading/searching/navigating

I think you need someone sufficiently experienced to give you the tour of what's possible in Emacs. Search is what sold it to me and I have never seen anything close to that in any type of software I ever used, and I've been programming for a long time - decades.

When someone showed me just a few ways of performing different kinds of search tasks in Emacs, it blew my mind. Wait a minute. You can search by grouping categorically, with regexp, with sparse-trees, sorted - by recency, alphanumerically, contextually; narrowed, expanded, in a grid-view, in a list, incrementally as you type; forward, backward, wrapped; fuzzy; by out-of-order separator tokens; by scope; by structure; by history; by class; by tree-sitter node shapes; in your browser history, in Google, Wikipedia, GitHub, YouTube, etc. etc.?

And because Emacs is insanely text-oriented it fits amazingly to use with LLMs. Just look at the number of different packages people keep building in it¹. You can query a model anytime, anywhere, I'd be typing some text (like this very comment for example) and then I can start chatting with an agent right there, in the same buffer - e.g. for fact-checking my assumptions. Then I can collapse the irrelevant points and focus on the substance, I can peek into the collapsed sessions individually, or I can open them in an indirect-buffer and start chatting on some specific point there.

In my coding assistant buffer, while typing a prompt, I can use a different model, with different parameters, within the same or different context to adjust the prompt itself. Then I can compare the rewrite changes on the spot - using different methods - line-based or three-way-merge diff, etc.

Or even wilder scenario - I'd be reading some article in a foreign language, I get automatic translation popup for every word, paragraph or selected region - all "smart", all based on where the cursor position is. Then, if I'm confused about a word, I can bring wiktionary² or definition lookup buffer. Guess what? I can start chatting with an agent in that same buffer asking it I dunno, if there's an Arabic influence on the word or whatever.

Because the agents have introspective capabilities, they can easily reach to other buffers, multiple agents working in parallel can empirically analyze the state of things, you basically get orchestration pretty much for free - it's just a matter of building proper skills.

I don't know what and how you evaluated things, but no other harness tool I've seen in the wild has reached the point of flexibility and malleability level of it. Emacs remains uncontested king of all sorts of text manipulation. It's not an editor, it's entirely something else.

¹ https://www.reddit.com/r/emacs/comments/1uwm3c0/the_state_of...

² https://github.com/agzam/wiktionary-bro.el

Re:Fine, I'll build my own text editor by lelanthran on Wednesday September 02, 2026 @03:47AM (#49533099)
> We live in wild times. I hope everyone is taking advantage while they can.

I dunno, hey. I'm not about to yolo my way for all things that are important. For things that are unimportant I will just use the existing stuff.

The goldilocks zone (things that an irritation, but not important), sure, I'll vibe a little Python/shell whatever, but pre-LLMs, I was already reducing my friction with little scripts anyway.

For example, in a recent comment of mine I posted a little wish script that I created in 2002, to have a simple GUI mp3 player, which I have been using daily since 2002.

Re:Fine, I'll build my own text editor by inatreecrown2 on Wednesday September 02, 2026 @02:00AM (#49532295)
do you want to share your text editor?
Re:Fine, I'll build my own text editor by stillpointlab on Wednesday September 02, 2026 @02:11AM (#49532372)
I was planning to. It is 100% vibe coded, the first project I did that way. I'm one of those who've been reading all the code in my major projects. But when I got frustrated with editors and off-handed mentioned to Fable something like "I like Kate, but it has way too many option I will never use" it told me that the core part could be wrapped pretty easily (like 50 lines of C++).

So I just said "do it" and have been merging everything without reading a single line. It wrote all the specs, wrote all the code, wrote all the tests. I just got it to write out a tutorial to take me on a tour of the code it wrote, but I haven't reviewed it yet.

I will push it as OSS once I've made sure it hasn't included anything that I don't want public. But it wouldn't be super useable for anyone else since many of the features (e.g fuzzel and broot) are glue that exists in the Sway configs and some helper scripts.

It's held together by bubble gum and scotch tape. But is does exactly what I want and so far without a single bug, crash or problem. It's my frankenstien editor and I love it. (disclosure: I've been using it for less than a week)

Re:Fine, I'll build my own text editor by andsoitis on Wednesday September 02, 2026 @09:21AM (#49535822)
Love this approach, for what it's worth! Thanks for sharing.
Re:Fine, I'll build my own text editor by boxed on Wednesday September 02, 2026 @02:02AM (#49532311)
I also had Claude write me an IDE: https://github.com/boxed/TurboKod

It's obviously not for everyone, but if you fork that repo and prompt your favorite model to make it look and feel like you want, you can get something extremely useful very fast.

Re:Fine, I'll build my own text editor by rfgplk on Wednesday September 02, 2026 @04:29AM (#49533433)
Actually looks really good
Re:Fine, I'll build my own text editor by boxed on Wednesday September 02, 2026 @05:15AM (#49533778)
Heh thanks. It started as a joke idea, but now it's my daily driver. Especially the review mode is useful now that so much work goes through LLMs.
Re:Fine, I'll build my own text editor by wolletd on Wednesday September 02, 2026 @02:50AM (#49532634)
It's important to share all vibe coded software to poison future LLM trainings!
Re:Fine, I'll build my own text editor by shoobiedoo on Wednesday September 02, 2026 @05:02AM (#49533681)
> We live in wild times. I hope everyone is taking advantage while they can.

To do what exactly? Everyone can churn out their own "kinda different but mostly the same" app thing?

Re:Fine, I'll build my own text editor by hk__2 on Wednesday September 02, 2026 @05:27AM (#49533861)
> "kinda different but mostly the same"

Isn’t that the description of our whole lives?

Re:Fine, I'll build my own text editor by stillpointlab on Wednesday September 02, 2026 @04:19PM (#49541884)
To experiment. Given the availability of new tools there is opportunity to try new things.
Re:Fine, I'll build my own text editor by satvikpendem on Thursday September 03, 2026 @11:41AM (#49551862)
Yes, so what? Personalized tools are great.
Re:Fine, I'll build my own text editor by rd07 on Wednesday September 02, 2026 @06:24AM (#49534304)
Kate is a good editor and it needs more publicity and more extensions. But, in my experience, as far as speed goes, it is slower than Sublime Text in my machine though still tolerable.
Re:Fine, I'll build my own text editor by stillpointlab on Wednesday September 02, 2026 @04:18PM (#49541875)
I didn't try Sublime on the same machine so I can't compare. Kate is less polished but genuinely a good choice if someone wants FOSS.

I would have no qualms recommending either.

Re:Fine, I'll build my own text editor by brettermeier on Wednesday September 02, 2026 @09:42AM (#49536101)
Why you burned all the tokens and energy for something that is out there like 1000 times? I don't think this is the future, would be a stupid future.