Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Merge pull request #2 from mt3/patch-1

Corrected grammatical and spelling errors in README.
latest commit 0116ed6cda
authored March 29, 2012
Octocat-spinner-32 plugin set W command only if it doesn't exists September 01, 2011
Octocat-spinner-32 README.md Corrected grammatical and spelling errors in README. March 28, 2012
README.md

About

sudo-gui.vim is a GUI sudo for a GUI vim.

Why

The original idea isn't mine, but I just couldn't get MacVim working with sudo.

What

sudo-gui.vim plugin provides the SudoWrite! command, along with a W! shortcut, enabling a file with administrative priviliges to be written. Depending on whether vim is run as a GUI or terminal app, a password will be requested at the console or in a GUI dialog box.

Currently console and OSX GUI dialogs are provided. GTK and others to come...

Screenshot

Installation

If you're a Vundle user add the following to your .vimrc:

Bundle 'gmarik/sudo-gui.vim'

and run :BundleInstall (a Vim restart is required for Vundle versions prior to v0.5).

PS

I know there is a sudo.vim but I'd rather prototype before contributing...

TODO

  • GTK dialog
  • docs
  • SudoRead?
  • Screencast?
Something went wrong with that request. Please try again.