I love using edit on Arch as a replacement to nano. However, the one issue I have with it is that when making new files, it will use Windows line endings (CRLF) instead of Unix line endings (LF). This has caused me to make config files and then get weird errors and have to figure out I had to run dos2unix on them to fix them.
The worst offender was when I installed doas and I had no idea why it wasn't working without having a single clue that /etc/doas.conf which I created with edit had CRLF line endings.
A fix would be to either have some sort of config to select which kind of line endings to use, or just default to LF line endings on Unix. Or both.