Skip to content

mt3/sudo-gui.vim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

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?

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 100.0%