Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tpope/vim-eunuch
eunuch.vim: Helpers for UNIX
https://github.com/tpope/vim-eunuch
Last synced: 11 days ago
JSON representation
eunuch.vim: Helpers for UNIX
- Host: GitHub
- URL: https://github.com/tpope/vim-eunuch
- Owner: tpope
- Created: 2011-12-26T19:11:26.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2024-10-13T17:18:33.000Z (about 2 months ago)
- Last Synced: 2024-10-22T04:45:00.127Z (about 2 months ago)
- Language: Vim Script
- Homepage: https://www.vim.org/scripts/script.php?script_id=4300
- Size: 76.2 KB
- Stars: 1,817
- Watchers: 23
- Forks: 76
- Open Issues: 4
-
Metadata Files:
- Readme: README.markdown
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
- stars - tpope/vim-eunuch
README
# eunuch.vim
Vim sugar for the UNIX shell commands that need it the most. Features
include:* `:Remove`: Delete a file on disk without `E211: File no longer available`.
* `:Delete`: Delete a file on disk and the buffer too.
* `:Move`: Rename a buffer and the file on disk simultaneously. See also
`:Rename`, `:Copy`, and `:Duplicate`.
* `:Chmod`: Change the permissions of the current file.
* `:Mkdir`: Create a directory, defaulting to the parent of the current file.
* `:Cfind`: Run `find` and load the results into the quickfix list.
* `:Clocate`: Run `locate` and load the results into the quickfix list.
* `:Lfind`/`:Llocate`: Like above, but use the location list.
* `:Wall`: Write every open window. Handy for kicking off tools like
[guard][].
* `:SudoWrite`: Write a privileged file with `sudo`.
* `:SudoEdit`: Edit a privileged file with `sudo`.
* Typing a shebang line causes the file type to be re-detected. Additionally
the file will be automatically made executable (`chmod +x`) after the next
write.[guard]: https://github.com/guard/guard
## Installation
Install using your favorite package manager, or use Vim's built-in package
support:mkdir -p ~/.vim/pack/tpope/start
cd ~/.vim/pack/tpope/start
git clone https://tpope.io/vim/eunuch.git
vim -u NONE -c "helptags eunuch/doc" -c q## Contributing
See the contribution guidelines for
[pathogen.vim](https://github.com/tpope/vim-pathogen#readme).## Self-Promotion
Like eunuch.vim? Follow the repository on
[GitHub](https://github.com/tpope/vim-eunuch) and vote for it on
[vim.org](http://www.vim.org/scripts/script.php?script_id=4300). And if
you're feeling especially charitable, follow [tpope](http://tpo.pe/) on
[Twitter](http://twitter.com/tpope) and
[GitHub](https://github.com/tpope).## License
Copyright (c) Tim Pope. Distributed under the same terms as Vim itself.
See `:help license`.