<commit_before># environment specific variables
BUNDLE_DIR="${HOME}/.vim/bundle"
AUTOLOAD_DIR="${HOME}/.vim/autoload"

# vim plugins to install
PACKAGES="https://github.com/bling/vim-airline 
https://github.com/tsaleh/vim-matchit
https://github.com/altercation/vim-colors-solarized
https://github.com/airblade/vim-gitgutter.git"

# package list
centos_packages() {
    packages="vim"
}
ubuntu_packages() {
    packages="vim"
}

${DISTRO_NAME_L}_packages
# run package installer
${INSTALLER} ${packages}

rm -rf ${BUNDLE_DIR} ${AUTOLOAD_DIR}

mkdir -p ${BUNDLE_DIR} ${AUTOLOAD_DIR}

# install pathogen
curl -Sso ${AUTOLOAD_DIR}/pathogen.vim https://raw.github.com/tpope/vim-pathogen/master/autoload/pathogen.vim

# install all vim plugins
for P in ${PACKAGES}
do
    cd ${BUNDLE_DIR}
    git clone ${P}
done

# kill our .vimrc
[ -f ~/.vimrc ] && rm -f ~/.vimrc

# rebuild .vimrc
cat > ~/.vimrc <<__EOF__
call pathogen#infect()
syntax on
filetype plugin indent on
set ts=4
set tabstop=4
set expandtab
set softtabstop=4
set shiftwidth=4
set number
set smartindent
set title
set whichwrap+=<>[]hl
set laststatus=2
set cursorline
set background=dark
set incsearch
set hlsearch
"colorscheme solarized
__EOF__<commit_msg>updating vimrc settings.<commit_after># environment specific variables
BUNDLE_DIR="${HOME}/.vim/bundle"
AUTOLOAD_DIR="${HOME}/.vim/autoload"

# vim plugins to install
PACKAGES="https://github.com/bling/vim-airline 
https://github.com/tsaleh/vim-matchit
https://github.com/altercation/vim-colors-solarized
https://github.com/airblade/vim-gitgutter.git"

# package list
centos_packages() {
    packages="vim"
}
ubuntu_packages() {
    packages="vim"
}

${DISTRO_NAME_L}_packages
# run package installer
${INSTALLER} ${packages}

rm -rf ${BUNDLE_DIR} ${AUTOLOAD_DIR}

mkdir -p ${BUNDLE_DIR} ${AUTOLOAD_DIR}

# install pathogen
curl -Sso ${AUTOLOAD_DIR}/pathogen.vim https://raw.github.com/tpope/vim-pathogen/master/autoload/pathogen.vim

# install all vim plugins
for P in ${PACKAGES}
do
    cd ${BUNDLE_DIR}
    git clone ${P}
done

# kill our .vimrc
[ -f ~/.vimrc ] && rm -f ~/.vimrc

# rebuild .vimrc
cat > ~/.vimrc <<__EOF__
execute pathogen#infect()
syntax on
filetype plugin indent on
set ts=4
set tabstop=4
set expandtab
set softtabstop=4
set shiftwidth=4
set number
set smartindent
set title
set whichwrap+=<>[]hl
set laststatus=2
set cursorline
set background=dark
set incsearch
set hlsearch
let g:solarized_termcolors=256
colorscheme solarized
au FileType python setl sw=4 sts=4 et
au FileType go setl sw=4 sts=4
__EOF__
{'fraction_non_alphanumeric': 0.12987012987012986, 'fraction_numerical': 0.006690279417552145, 'mean_word_length': 4.925407925407925, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 7, 'https://': 10, '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': '593024', 'n_tokens_mistral': 976, 'n_tokens_neox': 935, 'n_words': 230}