sponsor Vim development Vim logo Vim Book Ad

sudo.vim : Allows one to edit a file with privileges from an unprivileged session.

 script karma  Rating 314/123, Downloaded by 8096  Comments, bugs, improvements  Vim wiki

created by
rich paul
script type
"   sudo.vim:  A vim plugin by Rich Paul (vim@rich-paul.net)
"   This script eases use of vim with sudo by adding the ability to
"   edit one file with root privileges without running the whole
"   session that way.
"   Usage:  put it in the plugin directory, and
"       (command line): vim sudo:/etc/passwd
"       (within vim):   :e sudo:/etc/passwd
"   sudo will ask for your password if need be.
install details
"   Usage:  put it in the plugin directory, and

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
sudo.vim 2.0 2004-09-23 6.0 rich paul removed "'echo hi'" from the script.
sudo.vim 1.0 2003-08-07 6.0 rich paul Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.