https://github.com/bjagg/vim-config
VIM configuration with bundles as submodules
https://github.com/bjagg/vim-config
Last synced: 3 months ago
JSON representation
VIM configuration with bundles as submodules
- Host: GitHub
- URL: https://github.com/bjagg/vim-config
- Owner: bjagg
- Created: 2016-07-04T23:57:56.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2022-12-28T00:43:35.000Z (over 3 years ago)
- Last Synced: 2025-03-05T04:25:52.803Z (over 1 year ago)
- Language: Vim Script
- Size: 21.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# VIM configuration for writing and development.
## Set Up
Installation:
git clone git@github.com:bjagg/vim-config.git ~/.vim
Create Symlinks:
ln -s ~/.vim/vimrc ~/.vimrc
Switch to `~/.vim` directory and fetch submodules:
cd ~/.vim
git submodule update --init
## Adding A Plugin
To add plugin bundles, use Git submodule add:
cd ~/.vim
git submodule add git@github.com:[user]/[plugin-project-name].git
## Updating Plugins
Git submodules are not updated automatically to allow for controlled updates.
Git requires an explicit pull for each submodule:
cd ~/.vim
git submodule foreach git pull
git add bundle
git commit -m "Update all plugins in bundle"
git push origin master