Skip to content

ABob/vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vim

My personal vim configuration: vimrc settings and plugins.

This repository was created for synchronizing my vim configuration to my different platforms. Instructions were taken from http://vimcasts.org/episodes/synchronizing-plugins-with-git-submodules-and-pathogen/

Plugins were installed over pathogen. New plugins should be added as git submodules, if they are cloned from their git repositories.

  • To install this configuration on another machine, run:
cd ~
git clone https://github.com/ABob/vim.git   ### or git clone git@github.com:ABob/vim.git
ln -s ~/.vim/vimrc ~/.vimrc
ln -s ~/.vim/gvimrc ~/.gvimrc
cd ~/.vim
git submodule update --init
  • To install a new plugin as submodule:
cd ~/.vim
mkdir ~/.vim/bundle
git submodule add [PLUGIN-GIT-ADRESS] bundle/[PLUGIN-NAME]
git add .
git commit -m "Install [PLUGIN-NAME] bundle as a submodule."
  • To upgrade a plugin, run:
cd ~/.vim/bundle/<plugin>
git pull origin master
  • To upgrade all bundles, run:
git submodule foreach git pull origin master

About

vimrc and plugins for synchronization

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published