summarylogtreecommitdiffstats
path: root/vimdoc.hook
diff options
context:
space:
mode:
Diffstat (limited to 'vimdoc.hook')
-rw-r--r--vimdoc.hook11
1 files changed, 11 insertions, 0 deletions
diff --git a/vimdoc.hook b/vimdoc.hook
new file mode 100644
index 000000000000..07af3cc50234
--- /dev/null
+++ b/vimdoc.hook
@@ -0,0 +1,11 @@
+[Trigger]
+Operation = Install
+Operation = Upgrade
+Operation= Remove
+Type = Path
+Target = usr/share/vim/vimfiles/doc/
+
+[Action]
+Description = Updating Vim help tags...
+Exec = /usr/bin/vim -es --cmd ":helptags /usr/share/vim/vimfiles/doc" --cmd ":q"
+When = PostTransaction