Root-enabled file editor
Is there any program out there that is able to edit files that require root permission? I guess I'm looking for something similar to Webmin's file explorer where it's able to edit and mange file/directories as root but I just don't want the bloat of Webmin. It's really a pain in the butt if I need to edit some config files (nginx, for example) and I have to download the file, edit it locally and then copy back using nano or save to my home directory and overwrite the old file. There's just got to be a better way to do it and I would love to hear your solutions for this kind of thing?
Or maybe I'm just being a lazy bum and I need to favor security over my lazy-bumness.