All Projects → howl-anderson → vimapt

howl-anderson / vimapt

Licence: MIT license
A package manager for vim (VimApt => Vim's Advanced Package Tools)

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects
Vim Script
2826 projects
Makefile
30231 projects
TeX
3793 projects

Projects that are alternatives of or similar to vimapt

VimConfig
Configuration files for Vi-IMproved.
Stars: ✭ 23 (+43.75%)
Mutual labels:  vim-configuration, vim-plugins
Vim Plugins Profile
🕓 Profile Vim's plugins, generate awesome statistics and optimize (n)vim startup time
Stars: ✭ 508 (+3075%)
Mutual labels:  vim-configuration, vim-plugins
Dotfiles
💾 Ian's dotfiles, utils, and Zsh/Vim/tmux configs
Stars: ✭ 554 (+3362.5%)
Mutual labels:  vim-configuration, vim-plugins
Vinux
Swiss Army Knife,Dark power vim config
Stars: ✭ 198 (+1137.5%)
Mutual labels:  vim-configuration
Space Vim
🍀 Lean & mean spacemacs-ish Vim distribution
Stars: ✭ 2,785 (+17306.25%)
Mutual labels:  vim-configuration
vim-sass-colors
sass/scss/less/css color literal and color variable highlighting (works with imports)
Stars: ✭ 24 (+50%)
Mutual labels:  vim-plugins
dotfiles
My hand crafted .dotfiles 🤚🛠❤️
Stars: ✭ 49 (+206.25%)
Mutual labels:  vim-plugins
Vim For Coding
vim-for-coding
Stars: ✭ 110 (+587.5%)
Mutual labels:  vim-configuration
dotfiles
💻dotfiles for: tmux, neovim, git, zsh, osx
Stars: ✭ 49 (+206.25%)
Mutual labels:  vim-configuration
nvim
There are many neovim configurations, but this one is mine...
Stars: ✭ 41 (+156.25%)
Mutual labels:  vim-configuration
lh-tags
ctags base updating, and browsing from vim
Stars: ✭ 25 (+56.25%)
Mutual labels:  vim-plugins
vim-searchant
searchant.vim is obsoleted by vim-searchhi
Stars: ✭ 55 (+243.75%)
Mutual labels:  vim-plugins
ipynb notedown.vim
vim plugin for editing jupyter notebook (ipynb) files through notedown
Stars: ✭ 27 (+68.75%)
Mutual labels:  vim-plugins
Vimrc Config
re-vim: sensible vim configuration
Stars: ✭ 212 (+1225%)
Mutual labels:  vim-configuration
vim-drawer
VimDrawer is a Vim plugin to group related buffers in tabs automatically by the file name.
Stars: ✭ 26 (+62.5%)
Mutual labels:  vim-plugins
Vim Bootstrap
Vim Bootstrap is a generator that provides a simple method of generating a configuration for vim / neovim.
Stars: ✭ 1,870 (+11587.5%)
Mutual labels:  vim-configuration
dotfiles
A man's home is his castle. Never leave your dotfiles behind.
Stars: ✭ 16 (+0%)
Mutual labels:  vim-configuration
vim-modusline
🌈 Mode-specific statusline colors
Stars: ✭ 39 (+143.75%)
Mutual labels:  vim-plugins
vimrc
A shell script to deploy my vim configuration
Stars: ✭ 19 (+18.75%)
Mutual labels:  vim-configuration
tmux-zsh-vim-titles
Unified terminal titles in tmux, zsh, and vim/nvim
Stars: ✭ 28 (+75%)
Mutual labels:  vim-plugins

Vimapt

Vimapt is a vim package manager, "vimapt" is the abbreviate of "Vim's Advantage Package Tools".

Feature

  1. web-based repository
  2. "one package, one config file", make vim package manageable, easy to share your config, easy to backup
  3. full-stack tools from package-make-tools to repository-build-tools, anything have the tools no mater what do you want to do with vimapt

Get vimapt

you can always download from github / bitbucket

Install by shell

VimApt provide a script to install.

curl -sLf http://www.vimapt.org/install.sh | bash

For windows User, please see Install by hand section.

Install by hand

before you start, let's test vim see if vim support python and support which version execute vim --version, you will see vim's feature list, if you see +python or +python3 means this vim support python2 or python3. -python or -python3 means not support such feature. vimapt need vim support python2 or python3. if both of those are missing, vimapt will not work. Remember which version of python this vim support, it will be used latter.

  1. put the vimapt source to the .vim. if you get the source from git repository, vimapt's source locate in src directory.

  2. backup you .vimrc file (you will use it latter)

  3. clean you .vimrc, add code as below show

    source ~/.vim/vimapt/vimapt.vim

  4. if your .vimrc contain your vim setting, move the common setting to the .vim/vimrc/vim.vimrc.

  5. execute pip install -r ~/.vim/vimapt/library/requirements.txt if your vim support python2 or pip3 install -r ~/.vim/vimapt/library/requirements.txt if your vim support python3, to install all the dependencies that vimapt will need.

Usage

vimapt update

In vim console, type :VimApt update and press enter.

vimapt will connect to the official repository, and update package list.

vimapt repolist

In vim console, type :VimApt repolist and press enter.

vimapt will show the list of all package that you can install.

vimapt install

In vim console, type :VimApt install xxx and press enter.

If everything is OK, you well soon get a notification that installation of xxx packages is done.

Notice: make sure you are online and the xxx plugin is in the repository

vimapt remove

In vim console, type :VimApt remove xxx and press enter.

Vimapt will remove the package xxx from your vim system.

Tips

Vimapt support auto complete very well. you can auto complete command and packages. Please notice that vim use TAB as auto complete key.

auto complete on commands

In vim console, type :VimApt , notice that last character is blank character. now you can press Tab / TAB to auto-complete now. Just like auto-complete function in shell. You will see all the possible command alternatively.

Partial command auto-complete is also supported. For example, you want type command :VimApt install, In vim console, type :VimApt inst, and now you can press Tab / TAB to auto-complete now, vimapt will auto complete the command line to :VimApt install.

auto complete on packages

Almost every command in vimapt support auto-complete. For example, if you want remove a package that named 'example-package', When you type :VimApt remove example-, then press TAB / Tab, if there are only one package installed in vimapt which name begin with example-, vimapt will auto-completed with :VimApt remove example-package, if there multiply packages which name begin with example-, vimapt will auto-recycle during those package names.

Tutorial

After you installed vimapt, here will use install nerd-tree as an example, show the process of how usage vimapt.

  1. Update your vimapt repository cache.

    Using :Vimapt update, vimapt will update package list to newest package list.

  2. Install nerd-tree

    Using :Vimapt install nerd-tree, vimapt will install the package to your vim. Tips: you can use auto-complete function of vimapt.

  3. Restart vim

    Everything won't work until you exit from vim and restart it.

  4. Using nerd-tree

    Since, nerd-tree is installed, you can use it now, press Ctrl-D in normal mode, see if the nerd-tree works, press the key again will close the tree.

  5. Remove nerd-tree

    If you don't want nerd-tree anymore, you can using :Vimapt remove nerd-tree, remove the package. After removing, you can press Ctrl-D to see if it still work. if everything is ok, the key should not work anymore.

Acknowledge

  1. Auto install script are modified from SpaceVim project
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].