Vim script
Switch branches/tags
Nothing to show
Pull request Compare This branch is 8 commits behind gmarik:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
plugin
README.md

README.md

About

sudo-gui.vim is a GUI 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 SudoWrite! command (and a W! shortcut) allowing to write a file with administrative priviliges. Depending on whether vim is run as a terminal app or as a GUI one a password will be requested either as a console input or as a GUI dialog box.

Currently console, and OSX GUI dialogs are provided. GTK and other - to come...

Screenshot

Installation

If you're Vundle user add to your .vimrc

Bundle 'gmarik/sudo-gui.vim'

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

PS

I know ther's sudo.vim but I rather build prototype before contributing...

TODO

  • GTK dialog
  • docs
  • SudoRead?
  • Screencast?