<commit_before>## What are in the repo
    dotfile
    ├── astylerc
    ├── gitconfig
    ├── sublime
    |   ├── monokai-custom
    |   ├── Preference.sublime-settings
    |   └── SublimePackages.md
    ├── vim
    |   ├── bundle
    │   │   └── vundle
    │   ├── editorconfig
    │   └── vimrc
    ├── wgetrc
    └── zsh
        ├── oh-my-zsh
        └── zshrc

## Why is the file or directory here

- astylerc - the config for **astyle** which is a format tool for *C*, *C++*, *C#*, *Java*. Also can used in VIM
- gitconfig - the config for **git**
- sublime - all things about _Sublime Text 2_
    - monokai-custom - git submodule, Monokai-custom colorscheme
    - Preference.sublime-settings - the Preference file
    - SublimePackages.md - the list of sublime packages I use
- vim - all things about _VIM_
    - bundle/vundle - the *vim bundle manager*
    - editorconfig - the config for vim bundle **js-beautify**
    - vimrc - the config for **vim**
- wgetrc - the `http_proxy` config for **wget**
- zsh - all things about *zsh*
    - oh-my-zsh - git submodule, the directory `.oh-my-zsh` for **zsh**
    - zshrc - the config for **zsh**, firstly generated by **[oh-my-zsh](https://github.com/robbyrussell/oh-my-zsh)**, and some other config added by me

## What vim bundles are included in vimrc

    Bundle 'gmarik/vundle'
    Bundle 'tomasr/molokai'
    Bundle 'scrooloose/nerdtree'
    Bundle 'jistr/vim-nerdtree-tabs'
    Bundle 'maksimr/vim-jsbeautify'
    Bundle 'einars/js-beautify'
    Bundle 'scrooloose/nerdcommenter'
    Bundle 'plasticboy/vim-markdown'
    Bundle 'kchmck/vim-coffee-script'
    Bundle 'groenewege/vim-less'
    Bundle 'mattn/emmet-vim'
    Bundle 'drmingdrmer/xptemplate'
    Bundle 'mattn/calendar-vim'
    Bundle 'terryma/vim-multiple-cursors'

## Tasks & Requirement
If you want to do all tasks(except `sublime`) below, just run

    make

or do a specific task by run

    make <taskname1>[ <taskname2> <tasknameN> ...]

![screenshot](./screenshot.jpg)

- ### Task `vimrc`
    1. Requirements: `git`, `vim`
    2. Setup:

            make vimrc

    After above, you can override the system vim with the one installed by `homebrew`.(OS X only. This is optional, but recommended, because system vim can't use system clipbord via register `+`)

        brew install macvim --override-system-vim

- ### Task `gitconfig`
    1. Requirement: `git`
    2. Setup:

            make gitconfig

- ### Task `astylerc`
    1. Requirement: `astyle`. If you have installed `astyle` and press `Q` in vim, astyle will be used to format the *C*, *C++*, *C#*, *Java* file.
    2. Setup:

            make astylerc

- ### Task `wgetrc`
    1. Requirement: `wget`
    2. Setup:

            make wgetrc

- ### Task `zsh`
    If you have installed new zsh(installed in `/usr/local/bin/zsh`) by `homebrew`, and want to use it as **login shell** instead of the **old** system zsh(`/bin/zsh`), add `/usr/local/bin/zsh` to your `/etc/shells` to make it to be **standard shell**. Otherwise, the setup will use system zsh.

        sudo su
        echo "/usr/local/bin/zsh" >> /etc/shells
        exit
    1. Requirements: `git`, `zsh`
    2. Setup:

            make zsh

- ### Task `sublime`
    If you use `Sublime Text 2`, this task will add user Preference for it, and also add a [`Monokai-custom`](https://github.com/Jeremial/sublime-monokai-custom) theme which supports Markdown file highlight.
    1. Requirement: `git`, `Sublime Text 2`
    2. Setup: **bakup your preference file first!**

        If you are using OS X, just run

            make sublime

        If you are using Linux, set `SUBLIMEPATH` before make, e.g.

            SUBLIMEPATH=~/sublimetext2 make sublime

        After installing the preference, maybe you want to reset `font_face` and `font_size` to what you prefer in `Preference.sublime-settings`.
    3. Install sublime packages(optional). You can see what sublime packages I used in [SublimePackages.md](sublime/SublimePackages.md).

## What are required optionally
*Note*: __These softwares or scripts are not necessary, but recommended.__

- astyle - required by **astylerc**

        # OS X only
        brew install astyle

- Kaleidoscope( _OS X only_ ) - an excellent difftool when input `git difftool`
- git-extras - some useful tools for git, install from <https://github.com/visionmedia/git-extras>( _Linux, OS X_ ) or

        # OS X only
        brew install git-extras<commit_msg>fix typo error<commit_after>## What are in the repo
    dotfile
    ├── astylerc
    ├── gitconfig
    ├── sublime
    |   ├── monokai-custom
    |   ├── Preference.sublime-settings
    |   └── SublimePackages.md
    ├── vim
    |   ├── bundle
    │   │   └── vundle
    │   ├── editorconfig
    │   └── vimrc
    ├── wgetrc
    └── zsh
        ├── oh-my-zsh
        └── zshrc

## Why is the file or directory here

- astylerc - the config for **astyle** which is a format tool for *C*, *C++*, *C#*, *Java*. Also can used in VIM
- gitconfig - the config for **git**
- sublime - all things about _Sublime Text 2_
    - monokai-custom - git submodule, Monokai-custom colorscheme
    - Preference.sublime-settings - the Preference file
    - SublimePackages.md - the list of sublime packages I use
- vim - all things about _VIM_
    - bundle/vundle - the *vim bundle manager*
    - editorconfig - the config for vim bundle **js-beautify**
    - vimrc - the config for **vim**
- wgetrc - the `http_proxy` config for **wget**
- zsh - all things about *zsh*
    - oh-my-zsh - git submodule, the directory `.oh-my-zsh` for **zsh**
    - zshrc - the config for **zsh**, firstly generated by **[oh-my-zsh](https://github.com/robbyrussell/oh-my-zsh)**, and some other config added by me

## What vim bundles are included in vimrc

    Bundle 'gmarik/vundle'
    Bundle 'tomasr/molokai'
    Bundle 'scrooloose/nerdtree'
    Bundle 'jistr/vim-nerdtree-tabs'
    Bundle 'maksimr/vim-jsbeautify'
    Bundle 'einars/js-beautify'
    Bundle 'scrooloose/nerdcommenter'
    Bundle 'plasticboy/vim-markdown'
    Bundle 'kchmck/vim-coffee-script'
    Bundle 'groenewege/vim-less'
    Bundle 'mattn/emmet-vim'
    Bundle 'drmingdrmer/xptemplate'
    Bundle 'mattn/calendar-vim'
    Bundle 'terryma/vim-multiple-cursors'

## Tasks & Requirement
If you want to do all tasks(except `sublime`) below, just run

    make

or do a specific task by run

    make <taskname1>[ <taskname2> <tasknameN> ...]

![screenshot](./screenshot.jpg)

- ### Task `vimrc`
    1. Requirements: `git`, `vim`
    2. Setup:

            make vimrc

    After above, you can override the system vim with the one installed by `homebrew`.(OS X only. This is optional, but recommended, because system vim can't use system clipbord via register `+`)

        brew install macvim --override-system-vim

- ### Task `gitconfig`
    1. Requirement: `git`
    2. Setup:

            make gitconfig

- ### Task `astylerc`
    1. Requirement: `astyle`. If you have installed `astyle` and press `Q` in vim, astyle will be used to format the *C*, *C++*, *C#*, *Java* file.
    2. Setup:

            make astylerc

- ### Task `wgetrc`
    1. Requirement: `wget`
    2. Setup:

            make wgetrc

- ### Task `zsh`
    If you have installed new zsh(installed in `/usr/local/bin/zsh`) by `homebrew`, and want to use it as **login shell** instead of the **old** system zsh(`/bin/zsh`), add `/usr/local/bin/zsh` to your `/etc/shells` to make it to be **standard shell**. Otherwise, the setup will use system zsh.

        sudo su
        echo "/usr/local/bin/zsh" >> /etc/shells
        exit
    1. Requirements: `git`, `zsh`
    2. Setup:

            make zsh

- ### Task `sublime`
    If you use `Sublime Text 2`, this task will add user Preference for it, and also add a [`Monokai-custom`](https://github.com/Jeremial/sublime-monokai-custom) colorscheme which supports Markdown file highlight.
    1. Requirement: `git`, `Sublime Text 2`
    2. Setup: **bakup your preference file first!**

        If you are using OS X, just run

            make sublime

        If you are using Linux, set `SUBLIMEPATH` before make, e.g.

            SUBLIMEPATH=~/sublimetext2 make sublime

        After installing the preference, maybe you want to reset `font_face` and `font_size` to what you prefer in `Preference.sublime-settings`.
    3. Install sublime packages(optional). You can see what sublime packages I used in [SublimePackages.md](sublime/SublimePackages.md).

## What are required optionally
*Note*: __These softwares or scripts are not necessary, but recommended.__

- astyle - required by **astylerc**

        # OS X only
        brew install astyle

- Kaleidoscope( _OS X only_ ) - an excellent difftool when input `git difftool`
- git-extras - some useful tools for git, install from <https://github.com/visionmedia/git-extras>( _Linux, OS X_ ) or

        # OS X only
        brew install git-extras
{'fraction_non_alphanumeric': 0.11886304909560723, 'fraction_numerical': 0.004269183237838445, 'mean_word_length': 2.704535996670828, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 15, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '550753', 'n_tokens_mistral': 3128, 'n_tokens_neox': 3007, 'n_words': 1033}