Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
45 lines (31 sloc) 1.39 KB

eunuch.vim

Vim sugar for the UNIX shell commands that need it the most. Commands include:

  • :Unlink: Delete a buffer and the file on disk simultaneously.
  • :Remove: Like :Unlink, but doesn't require a neckbeard.
  • :Rename: Rename a buffer and the file on disk simultaneously.
  • :Find: Run find and load the results into the quickfix list.
  • :Locate: Run locate and load the results into the quickfix list.
  • :SudoWrite: Write a privileged file with sudo.
  • :W: Write every open window. Handy for kicking off tools like guard.

Installation

If you don't have a preferred installation method, I recommend installing pathogen.vim, and then simply copy and paste:

cd ~/.vim/bundle
git clone git://github.com/tpope/vim-eunuch.git

Once help tags have been generated, you can view the manual with :help eunuch.

Contributing

See the contribution guidelines for pathogen.vim.

Self-Promotion

Like eunuch.vim? Follow the repository on GitHub. And if you're feeling especially charitable, follow tpope on Twitter and GitHub.

License

Copyright (c) Tim Pope. Distributed under the same terms as Vim itself. See :help license.