svHatch / dotfiles

My dotfiles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dotfiles

My dotfiles

Vim plugin management

Adding a package

Here is an example of how to add a package using Vim’s native approach to packages and git submodules.

cd ~/dotfiles git submodule init git submodule add https://github.com/vim-airline/vim-airline.git vim/pack/shapeshed/start/vim-airline git add .gitmodules vim/pack/shapeshed/start/vim-airline git commit

Updating packages

To update packages is also just a case of updating git submodules.

git submodule update --remote --merge git commit

Removing a package

Removing a package is just a case of removing the git submodule.

git submodule deinit vim/pack/shapeshed/start/vim-airline git rm vim/pack/shapeshed/start/vim-airline rm -Rf .git/modules/vim/pack/shapeshed/start/vim-airline git commit

About

My dotfiles

License:GNU General Public License v3.0


Languages

Language:Shell 93.4%Language:Vim Script 6.6%