←back to thread

145 points itkeman | 10 comments | | HN request time: 1.526s | source | bottom

As a native Windows user who switched to macOS a few years back, one thing I never got over was the simplicity and usefulness of the old school Notepad app. This app aims to recreate that very same experience, cross-platform and easily installable as a PWA.

I've been using this for personal use for around 2 years and I figured it was time to share it with the world. Criticism, issues and PRs are welcome. Thanks!

Show context
JTyQZSnP3cQGa8B ◴[] No.42792182[source]
What's wrong with TextEdit on macOS?

It's good that you made an alternative but it's not serious. I need to run Firefox, enable JS, reload the page, there is no "top menu" or install button, the open/save button does nothing, I can't choose my own fonts, and I guess it doesn't work if I don't have an internet connection.

replies(8): >>42792283 #>>42792295 #>>42792307 #>>42792351 #>>42792385 #>>42792465 #>>42792947 #>>42794030 #
1. Ghoelian ◴[] No.42792283[source]
KDE's KWrite is also available on macOS if you don't like TextEdit, as well as Kate which is more of an alternative to Notepad++, practically an IDE. Kate is my personal favourite text editor.
replies(1): >>42793075 #
2. npteljes ◴[] No.42793075[source]
Kate is fantastic. I rarely touch the built-in software out of a bad habit, but this one turned this around. One of the things it's missing from Notepad++ is the ability to just close the editor, open it again, and get back the workflow exactly where it was, but unsaved files as well. Kate can do it via sessions, but I need to create a session, and then after re-opening, tell it to yes, open that one session.
replies(2): >>42793529 #>>42797881 #
3. pferde ◴[] No.42793529[source]
Can you run it as "kate --session MySession", with different sessions in different shortcuts, as needed?

There is also "Load last session" option in Kate's configuration, if you only ever use one session.

replies(1): >>42795751 #
4. npteljes ◴[] No.42795751{3}[source]
Thanks, I'll check that out!
5. nottorp ◴[] No.42797881[source]
> the ability to just close the editor, open it again, and get back the workflow exactly where it was, but unsaved files as well

Most text editors I use on MacOS do that, TextEdit included.

I'm only posting because I had come to think that's the normal behaviour, not an extra... haven't been using non mac os desktops too much in the past years.

replies(2): >>42798324 #>>42804934 #
6. npteljes ◴[] No.42798324{3}[source]
Definitely normal behavior, and also human, natural behavior. Things are where I left them last time.

I understand that in the 90s, disk space was a concern, and that disk operations were a big deal with moving parts, etc. But we really need to move on from this paradigm.

I just tested, and it looks like that "new" software does this on Linux, but "old" software didn't modernize. IntelliJ products, VSCodium does this, QOwnNote does it, Kate does it when I explicitly start a session (bit of a nonsense...), and no other software that I use does it: LibreOffice products, KWrite, Geany, GIMP etc all operate on the paradigm that when closing, it asks if it should save the draft document or no.

replies(1): >>42801988 #
7. nottorp ◴[] No.42801988{4}[source]
Hmm incidentally the office-like apple applications seem to want an explicit save. I just started Pages, wrote a sentence in a blank document and it asked me if i want to save or delete it on exit...
8. Ghoelian ◴[] No.42804934{3}[source]
TextEdit just asks if you want to save the file when you try to close it. Do you mean it keeps files if it crashes or something?
replies(1): >>42811581 #
9. nottorp ◴[] No.42811581{4}[source]
And across machine restarts.
replies(1): >>42876240 #
10. Ghoelian ◴[] No.42876240{5}[source]
Ah but I suppose that only works if you keep the "Reopen windows" thing checked? I think shutting down without that is the same as just quitting the app, which asks if you want to save (can't quickly test this out as I have to work on this laptop).

I always keep that disabled, I absolutely hate that kind of behaviour.