This repository holds my configuration files so that I can clone them to other machines easily.
Go to home directory and paste:
git clone https://github.com/foxsake/dotfiles ~/.dotfiles
To install vim configurations, paste:
ln -s ~/.dotfiles/vim/vim ~/.vim
ln -s ~/.dotfiles/vim/vimrc ~/.vimrc
To add vim plugins,
cd ~/.dotfiles/vim
git submodule add <plugin address> vim/bundle/<plugin name>
To install vim plugins, cd to your dotfiles directory then
git submodule init
git submodule update
or
git submodule update --init
To upgrade a plugin bundle, go to the plugin directory and pull
git pull origin master
To upgrade all bundled plugins
git submodule foreach git pull origin master
To install tmux configurations, paste:
ln -s ~/.dotfiles/tmux/tmux.conf ~/.tmux.conf
To load the configuration do
tmux source-file ~/.tmux.conf
or inside tmux:
:source-file ~/.tmux.conf
To install Bash configurations, paste:
ln -s ~/.dotfiles/bash/bashrc ~/.bashrc
ln -s ~/.dotfiles/bash/bash_logout ~/.bash_logout
To install Git configurations, paste:
ln -s ~/.dotfiles/git/gitconfig ~/.gitconfig
ln -s ~/.dotfiles/git/gitignore_global ~/.gitignore_global