When editing .conf files I recommend Notepad ++. Here you can keep various files open in tabs and there are no paste errors like in notepad.
It also has a dark mode.