Skip to content

Post action triggers (hook system?) #804

@unode

Description

@unode

Hi everyone,

I assume this feature has been mentioned/requested before but I couldn't find anything specific under wiki/FAQ/vimhelp/issues.

There are quite a few plugins out there that require manual intervention after cloning. Occasionally these actions differ between new installs and updates.
On the other hand these actions are not consistent across plugins so one may need to run a custom build script or a more standard make, cmake, ...

Is there any support for this in Vundle?

What I had in mind was something along the lines of:

Plugin 'just/plugit', {'oninstall': './setup.sh && make', 'onupdate': 'make'}

where oninstall would be triggered during :PluginInstall and 'onupdate' during :PluginUpdate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions