204
(blog.jsbarretto.com)
jonjacky | 2 hours ago | 1 Comment
from Vip - Vi-Style Editor in PicoLisp https://picolisp.com/wiki/?vip
entaloneralie | 5 hours ago | 3 Comment
I'd do it all over again if I had to.
Show Reply 3 [+]
ivanjermakov | 6 hours ago | 2 Comment
It was indeed a pain using it for the first few weeks, where every 5 minutes I found some bug and had to go back and fix it, instead of steadily working on some other project. Good news is more bugs you fix, less bugs is left.
Show Reply 2 [+]
catapart | 6 hours ago | 5 Comment
To do all of that and write a text editing library at the same time is a little more than my nights and weekends can handle. If I start on just the text editor, it'll only work in a terminal console, so I won't actually use it for my own projects. If I start on just the GUI, I won't actually use it because it won't actually work. So, even if I'm going to replace the text editing library at the heart of the project with custom code, eventually, it's pretty much a non-starter if I don't have something to use to get started.
To be honest, I'm kind of surprised to have so much trouble finding a solution here. Everything I find is either a self-contained text editor, or a full-on "mission statement" GUI (development can be easier/better by using our editor's features). I've had a very hard time finding something that is just an API that I can feed input and have it return me reasonable state updates about the text content. CRDTs or whatever.
I'm assuming people just figure you're either going to write a toy text editor, in which case simple text editing will work, or you're going to write a full-blown showcase product, in which case your advanced structural design with performance-focused editing, language servers, multi-cursor support, etc, will be your selling point and functional focus. But that seems to leave this surprising hole where a developer who wanted to "rebuild windows' Notepad app, except that it can handle text files with massive lines without slowing way down" would have to actually implement the advanced text editing line management rather than just use a library for this well-solved problem.
Show Reply 5 [+]
mdonahoe | 57 minutes ago | 1 Comment
https://github.com/antirez/kilo
There's a nice tutorial for it
https://viewsourcecode.org/snaptoken/kilo/
Great way to learn more about terminal modes and write some raw C
keyle | 9 hours ago | 1 Comment
whynotmaybe | 14 hours ago | 4 Comment
Syntax coloring, fast buffering and even a screen saver.
You could even call the compiler directly from it.
All this running on a pentium 120 and it felt a thousands times faster than today's vscode.
But vscode can edit multiple files at the same time...
Show Reply 4 [+]
gorjusborg | 3 hours ago | 2 Comment
So you are claiming to have tried dozens of editors, discarded them, only to land on nano as your daily driver?
If that's true, this person must be a character.
Show Reply 2 [+]
bananaboy | 14 hours ago | 1 Comment
mllev15 | 14 hours ago | 2 Comment
Show Reply 2 [+]
codazoda | 16 hours ago | 5 Comment
Show Reply 5 [+]
willrshansen | 15 hours ago | 3 Comment
I want to be able to piece together an editor from modular task specific executables. Different programs for file searching, input mapping, buffer modification and display, etc. Probably similar to how LSPs are already separated from most editors.
One step less hardcore than writing a whole editor.
Anyone know of any existing projects along these lines?
Show Reply 3 [+]
greatgib | 10 hours ago | 11 Comment
Good old style editor that is a native app, not an electron app. All the features that you might want and more, but simple and efficient.
And the most important for me, super snappy. I can't bear the latency that you get for typing code when using things like vscode. I don't know how people can appreciate that.
Show Reply 11 [+]
dizhn | 8 hours ago | 3 Comment
Show Reply 3 [+]
kleiba | 10 hours ago | 2 Comment
Show Reply 2 [+]
osmsucks | 11 hours ago | 1 Comment
But I am now at home with Helix and Flow Control.
Jeffrin-dev | 3 hours ago | 1 Comment
abktowa | 15 hours ago | 1 Comment
mudkipdev | 15 hours ago | 3 Comment
Show Reply 3 [+]
- | 9 hours ago | 1 Comment
alansaber | 8 hours ago | 3 Comment
Show Reply 3 [+]
busterarm | 3 hours ago | 1 Comment
piker | 10 hours ago | 2 Comment
This is so true. And there are a lot of other cases where we just expect the OS or library to do it for us. Instead, we have to reimplement the wheel. Of course if understanding the wheel is part of the goal, then that works, but if you’re venture-backed good luck justifying the use of time to your investors. This is why Electron’s gravity is so strong.
Show Reply 2 [+]
croisillon | 12 hours ago | 2 Comment
Show Reply 2 [+]
newzino | 2 hours ago | 1 Comment
octoclaw | 5 hours ago | 1 Comment
zacklee-aud | 15 hours ago | 1 Comment
shablulman | 16 hours ago | 1 Comment
genie3io | 11 hours ago | 1 Comment
fay_ | 12 hours ago | 1 Comment
givemeethekeys | 13 hours ago | 1 Comment