by tentacleuno · 2y ago · 0 comments
Rather quickly, I found that I had to completely remove Notepad so muscle memory would stop guiding me to it. Good times (and sad ones; I lost a lot of lecture notes) -- nevertheless, Notepad++ is an excellent piece of software.
I'm curious if the same "write and close the window" workflow is achievable with Kate, as I haven't been able to find the option; and, of course, the obvious question: what about this one?
It's amazing how many people don't bother implementing this indispensable feature.
BBEdit is almost bizarrely bulletproof in this regard. I never, in a decade, lost a single note. To me, this is probably the most overlooked and important feature in a text editor.
I switched to Plasma/Linux a few years ago and have since learned that Kate is not as robust.
Must try Notepad Next.
I don't even really use the concept of open files. I mostly switch files using a fuzzy finder that lists files in the git repo. So what files are "open" in my session is irrelevant to my workflow. (Unless they have unsaved changes of course, but I basically always just use "Save All" so even that state is minimal.)
Notepad on Windows now has this behavior. Finally.
After having used it for more than three decades, it now has the one feature that prevented me from using it to take scratch notes. It will autosave without prompting on close.
And it has a dark mode, so now I use it daily.
Because you didn't ask it to save and closed the app?
If you quit the application when hot exit is enabled, it will restore all windows the next time you start it.
I don't see any way to close individual windows without prompting but you can do command+w and then command+d to "Don't Save".
While that's great, I wish the same thing existed for a lightweight Notepad-esque app, too: I used ++ a lot for quickly jotting down information while it was being read to me (so, on the phone); having to start a full-blown IDE for this seems wasteful, and not the right tool for the job.
Perhaps the solution is just to leave VSCode open all the time, but that wouldn't work either: whenever I switch workspaces, I'm asked whether I'd like to save the unsaved files (so, just like Kate), and it can be quite resource intensive. Grr.
Version 41 (the one bundled w/Ubuntu 22.04 LTS) does have this behaviour from Notepad++