

GitHub - tpope/vim-eunuch: eunuch.vim: helpers for UNIX
source link: https://github.com/tpope/vim-eunuch
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.markdown
eunuch.vim
Vim sugar for the UNIX shell commands that need it the most. Features include:
:Delete
: Delete a buffer and the file on disk simultaneously.:Unlink
: Like:Delete
, but keeps the now empty buffer.:Move
: Rename a buffer and the file on disk simultaneously.:Rename
: Like:Move
, but relative to the current file's containing directory.:Chmod
: Change the permissions of the current file.:Mkdir
: Create a directory, defaulting to the parent of the current file.:Find
: Runfind
and load the results into the quickfix list.:Locate
: Runlocate
and load the results into the quickfix list.:Wall
: Write every open window. Handy for kicking off tools like guard.:SudoWrite
: Write a privileged file withsudo
.:SudoEdit
: Edit a privileged file withsudo
.- File type detection for
sudo -e
is based on original file name. - New files created with a shebang line are automatically made executable.
- New init scripts are automatically prepopulated with
/etc/init.d/skeleton
.
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 vote for it on vim.org. 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
.
Recommend
-
191
pathogen.vim Manage your 'runtimepath' with ease. In practical terms, pathogen.vim makes it super easy to install plugins and runtime files in their own private directories. For new users, I recommend using Vi...
-
139
fugitive.vim Fugitive is the premier Vim plugin for Git. Or maybe it's the premier Git plugin for Vim? Either way, it's "so awesome, it should be illegal". That's why it's called Fugitive. The crown jewel of Fugitive is :G...
-
209
Files Permalink Latest commit message Commit time...
-
167
rails.vim This is a massive (in a good way) Vim plugin for editing Ruby on Rails applications. Easy navigation of the Rails directory structure. gf considers context and knows about partials, fixtures, and m...
-
131
commentary.vim Comment stuff out. Use gcc to comment out a line (takes a count), gc to comment out the target of a motion (for example, gcap to comment out a paragraph), gc in visual mo...
-
207
Vim Markdown runtime files This is the development version of Vim's included syntax highlighting and filetype plugins for Markdown. Generally you don't need to install these if you are running a recent version of Vim. If you want...
-
91
vim-cucumber - Vim Cucumber runtime files
-
76
README.markdown speeddating.vim Take the following date: 1999-12-31 Because Vim treats the hyphen as a negative sign, pressing <C-A> on the 31...
-
69
README.markdown rsi.vim You know Readline key bindings? Of course you do, they're in your shell, your REPL, and perhaps even the GUI for your OS. They're similar to Emacs key bindings (C-a fo...
-
7
vim-sexp mappings for regular people I'm really liking my first impressions of vim-sexp. It's like paredit minus a couple of parts of paredit that are impossibly tricky to implement in...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK