Skip to content

Instantly share code, notes, and snippets.

@sigwyg
Created April 27, 2011 12:23
Show Gist options
  • Save sigwyg/944155 to your computer and use it in GitHub Desktop.
Save sigwyg/944155 to your computer and use it in GitHub Desktop.
README - dotfiles (2011-04-21)
##################
#
# dotfiles
#
##################
.vimrc, .vim, vim/bundles and others
1. cd ~/
2. git clone git://github.com/sigwyg/dotfiles.git
3. ln -s dotfiles/.vimrc .vimrc
ln -s dotfiles/.vim .vim
[Optional]
ln -s dotfiles/.bashrc .bashrc
ln -s dotfiles/.bash_profile .bash_profile
4. cd dotfiles
5. git submodule init
6. git submodule update
7. mkdir .vim/swap
mkdir .vim/backup
mkdir .vim/autoload
8. ln -s /Users/sigwyg/dotfiles/.vim/bundle/vim-pathogen/autoload/pathogen.vim /Users/sigwyg/dotfiles/.vim/autoload/pathogen.vim
Add modules
-----------------
git submodule add git://github.com/hail2u/vim-css3-syntax.git .vim/bundle/vim-css3-syntax
Remove modules
-----------------
1. .gitmodules
-[submodule ".vim/bundle/vim-css3-syntax.git"]
- path = .vim/bundle/vim-css3-syntax.git
- url = git://github.com/hail2u/vim-css3-syntax.git
2. .git/config
-[submodule ".vim/bundle/vim-css3-syntax.git"]
- url = git://github.com/hail2u/vim-css3-syntax.git
3. git rm --cached .vim/bundle/vim-css3-syntax.git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment