Notepad++ equivalent for Mac?
So, is there a Notepad++ equivalent for Mac? I'm not interested in virtualization (running a Windows program on Mac using a VM, Wine, or Parallels). I just want something as good or similar to Notepad++ that runs natively under macOS. I had been using TextWrangler - but, as with many disappointments when I 'upgraded' to Monterey - I lost that too.
Right now I'm trying to export a text file (with the extension *.txt) using TextEdit - and that doesn't seem possible or reasonably obvious. With TextEdit, the closest to a plain text format is this Rich Text Format (*.rtf) - which isn't working for me.
MacBook Pro 15″, macOS 12.0