Skip to content

bodypheo/vim-config

Repository files navigation

Fuentes:
http://vimcasts.org/episodes/synchronizing-plugins-with-git-submodules-and-pathogen/
http://help.github.com/create-a-repo/

Instalación de vim con git
	Crear un directorio .vim
	copiar .vimrc a .vim/vimrc
Crear enlaces simbólicos
    ln -s ~/.vim/vimrc ~/.vimrc
    ln -s ~/.vim/~/.gvimrc
Cambiar al directorio ~/.vim e iniciar el repositorio
    git submodule init

Instalar plguins
cd ~/.vim
mkdir ~/.vim/bundle
git submodule add http://url.git
Añadimos el directorio actual completo:
git add .
Hacemos un commit con la descripción del cambio.
git commit -m "Install Fugitive.vim bundle as a submodule."

Clonar

git clone --recursive http://github.com/bodypheo/vim-config.git .vim
    ln -s ~/.vim/vimrc ~/.vimrc
    ln -s ~/.vim/~/.gvimrc

Profit!