diff options
author | Thomas Dziedzic | 2013-08-30 02:23:18 +0000 |
---|---|---|
committer | Eli Schwartz | 2015-07-08 13:16:06 -0400 |
commit | 50bea6f3e5db70b16d232bd5aba90053a997267d (patch) | |
tree | 3f1e368bd02fc25390f71ee00fd843e499e5b00b /vimdoc.install | |
download | aur-50bea6f3e5db70b16d232bd5aba90053a997267d.tar.gz |
Initial upload: vim-eunuch v1.0.5.g6a4d193-1
Imported old history from aur-mirror:
updated on Fri Aug 30 02:23:15 UTC 2013
filter-branch: add .SRCINFO
Diffstat (limited to 'vimdoc.install')
-rw-r--r-- | vimdoc.install | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/vimdoc.install b/vimdoc.install new file mode 100644 index 000000000000..31487f37216a --- /dev/null +++ b/vimdoc.install @@ -0,0 +1,35 @@ +post_install() { + echo -n "Updating vim help tags..." + /usr/bin/vim --noplugins -u NONE -U NONE \ + --cmd ":helptags /usr/share/vim/doc" --cmd ":q" > /dev/null 2>&1 + echo "done." + printf "$eunuch\n" +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install +} + +read -d '' eunuch <<"EOF" +# vim-eunuch-git + +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. +:Move: Rename a buffer and the file on disk simultaneously. +:Chmod: Change the permissions of the current file. +: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. +EOF + +op=$1 +shift + +$op $* |