Sudo-edit

    (Code snippet)

    Edit currently visited file as root.
    Key bindings: C-x C-r

    by sachin

Code
Fork me on GitHub