/dotfiles

.stuffs

Primary LanguageVim ScriptMIT LicenseMIT

dotfiles

Zsh and Prezto

Setup steps:

  1. install brew if not installed,

     ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    
  2. Install zsh if not installed

     brew install zsh
    
  3. Install oh-my-zsh:

     git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-$HOME}/.zprezto"
    

    Then create a new Zsh configuration

     for rcfile in $HOME/dev/dotfiles/prezto/*; do ln -s "$rcfile" "$HOME/.$(basename $rcfile)"; done
    
  4. Create a local zshrc copy

     cp -f $HOME/dev/dotfiles/.zsh-dummy $HOME/.zshrc
    
  5. Take immediate effective

     source ~/.zshrc
    

git

Resume global git configuration (name, email, etc.) before using it.

ln -sf $(pwd)/.gitconfig ~/.gitconfig

Vim

  1. Install latest Vim from brew

     brew install vim
    
  2. Syslink .vim/ftplugin and .vim/plugin

     mkdir ~/.vim
     ln -sf $(pwd)/vim/ftplugin ~/.vim
     ln -sf $(pwd)/vim/plugin ~/.vim
    
  3. Install Vundle

     git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
    
  4. Syslink .vimrc

     ln -sf $(pwd)/.vimrc ~/.vimrc
    
  5. Install Vim plug-ins

     vim +PluginInstall +qall
    
  6. Compile YouCompleteMe before using:

     cd ~/.vim/bundle/YouCompleteMe
     brew install cmake
     sudo apt-get install build-essential cmake python-dev python3-dev
     ./install.py --clang-completer
    
  7. Install ctags:

     brew install ctags
     sudo pacman -Syu ctags
    

gnome-terminal

A very good collection of color schemes is found here

cd /tmp
git clone git@github.com:metalelf0/gnome-terminal-colors.git
cd gnome-terminal-colors
./install.sh

tmux

  1. Syslink conf

     ln -sf $HOME/dev/dotfiles/.tmux.conf ~/.tmux.conf
    

iTerm2

You can import solarized color scheme if you like.

X

  1. gtk+ theming

I like the Ceti-2 themes from AUR

yaourt ceti-2

Then syslink the following configuration files:

ln -sf /home/fan/dev/dotfiles/.gtkrc-2.0 ~/.gtkrc-2.0
ln -sf /home/fan/dev/dotfiles/.config/gtk-3.0/settings.ini ~/.config/gtk-3.0/settings.ini

See http://wiki.archlinux.org/index.php/GTK%2B for more details.