Skip to content

Allows one to edit a file with prevledges from an unprivledged session.

Notifications You must be signed in to change notification settings

vim-scripts/sudo.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

This is a mirror of http://www.vim.org/scripts/script.php?script_id=729

"   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 privleges 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.
"

About

Allows one to edit a file with prevledges from an unprivledged session.

Resources

Stars

Watchers

Forks

Packages

No packages published