I use Sublime Text for that. I usually use it to paste something that I want to run but modify it (i.e docker-compose.yml) and I use it to write notes during my work and store in its buffers my session thinking. When I'm done or want to leave for a long time (I move these to obsidian). Also for quick edits I like being able to use build-in terminal command `subl` (i.e adding something to ~/.bashrc ). It is available for Windows, Mac and Linux. It is the fastest program to open on all machines I tried before. I don't have a license but I think I should get one (they are generous about that and I silence myself by saying I'm poor academic researcher).
Ive been meaning to try Sublime for a while now. Will try and comment my experience at a future time. Thing is N++ never dissapointed and if Sublime wins my mindshare Id be having some tough decision to make. Also N++ is free and I developed plugins for myself. Maybe Sublime is still better, don’t know for sure.
I didn't intend this as a comparison. I used Notepad++ for sometime along time ago when I was using windows primarily. I moved to using Linux and Mac and this in itself would mean I cannot use Notepad++ as it is not available on Mac. I was just sharing my experience using different tool to a similar workflow like you have. Being free and open source is good of course but for me Sublime has better integration and its UI is better. And it does support Mac.