Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.
/ packup Public archive

Minimal VIM plugin for automated package management

Notifications You must be signed in to change notification settings

dhruvasagar/packup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PackUp v0.2.0

A small wrapper around git for automating process of installing / updating / removing vim / neovim plugins

Overview

Packup helps to automates adding / removing / updating packages synchronously on vim / neovim startup if they haven't been installed already and asynchronously when updating using the PackupUpdate command.

Additionall it also provides the following features :

  • Lazy loading plugins
  • Ability to Freeze plugins (skipping updates)
  • Install plugins from a specific branch / ref
  • Post installation hook

Requirements

  • Vim 8+ (preferably latest) or NeoVIM
  • Git 1.9+
  • OS: Linux / OSX (Probably works on Windows but hasn't been tested)

Installation

$ git clone git@github.com:dhruvasagar/packup.git ~/.vim/pack/packup/opt/packup

Usage

You can add the following to your vimrc :

packadd packup

" Initialize packup
call packup#init()

" Let packup manage itself
call packup#add('git@github.com:dhruvasagar/packup.git', {'type': 'opt'})

" Add rest of your plugins
call packup#add('/usr/local/my_vim_plugin')
call packup#add('git@github.com:dhruvasagar/vim-zoom.git')
call packup#add('git@github.com:dhruvasagar/vim-procession.git', {'type': 'opt'})
call packup#add('git@github.com:pangloss/vim-javascript.git', {'for': 'javascript'})

" Remove any plugins not used anymore
call packup#autoremove()

License

VIM License

About

Minimal VIM plugin for automated package management

Resources

Stars

Watchers

Forks

Packages

No packages published