summaryrefslogtreecommitdiff
path: root/pcr/vundle-git/vundle.install
diff options
context:
space:
mode:
author4ur3l13n <aurelien@hackers.camp>2015-11-08 15:23:56 +0100
committer4ur3l13n <aurelien@hackers.camp>2015-11-08 15:23:56 +0100
commit8a821aab1f810eb73732cf26060a5ba6b0c7e996 (patch)
treef8806c28c5563852e48fc6231b3de1900b84d81f /pcr/vundle-git/vundle.install
parent2defaad5c92e115337e1779756dd2669c24e6d74 (diff)
vundle-git plugin manager for vim
Diffstat (limited to 'pcr/vundle-git/vundle.install')
-rw-r--r--pcr/vundle-git/vundle.install27
1 files changed, 27 insertions, 0 deletions
diff --git a/pcr/vundle-git/vundle.install b/pcr/vundle-git/vundle.install
new file mode 100644
index 000000000..555151ccb
--- /dev/null
+++ b/pcr/vundle-git/vundle.install
@@ -0,0 +1,27 @@
+post_install() {
+ echo -n "Updating vim help tags..."
+ /usr/bin/vim --noplugins -u NONE -U NONE \
+ --cmd ":helptags /usr/share/vim/vimfiles/doc" --cmd ":q" > /dev/null 2>&1
+ echo "done."
+ echo "
+ >>> To use vundle, please check the file /usr/share/vundle/vimrc.sample
+ >>> and update your ~/.vimrc file, accordingly
+ "
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ echo -n "Updating vim help tags..."
+ /usr/bin/vim --noplugins -u NONE -U NONE \
+ --cmd ":helptags /usr/share/vim/vimfiles/doc" --cmd ":q" > /dev/null 2>&1
+ echo "done."
+ echo "
+ >>> Please remember to remove vundle bundles from your ~/.vimrc file
+ >>> and from your ~/.vim directory!
+ "
+}
+
+# vim: ts=2 sw=2 et: