<commit_before>let PLUGINS_DIR = '$HOME/.vim/plugins'

set nocompatible
call plug#begin(fnameescape(expand(PLUGINS_DIR)))

" Color Schemes
" https://github.com/morhetz/gruvbox/wiki/Installation
Plug 'morhetz/gruvbox'

" https://github.com/junegunn/seoul256.vim
Plug 'junegunn/seoul256.vim'

" Plug 'VundleVim/Vundle.vim'
Plug 'scrooloose/nerdtree'
Plug 'JamshedVesuna/vim-markdown-preview'
Plug 'junegunn/goyo.vim'
Plug 'airblade/vim-gitgutter'
Plug 'wakatime/vim-wakatime'
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'tpope/vim-commentary'

" Languages {

    Plug 'pangloss/vim-javascript'
    Plug 'tpope/vim-markdown'
    Plug 'python-mode/python-mode'

    " HTML + CSS
    Plug 'hail2u/vim-css3-syntax'
    Plug 'othree/html5.vim'
" }

" Editing
Plug 'Raimondi/delimitMate'
Plug 'kien/rainbow_parentheses.vim'
Plug 'ntpeters/vim-better-whitespace'

call plug#end()


" #############################################
" ############### CONFIGURATION ###############
" #############################################

au VimEnter * RainbowParenthesesToggle
au Syntax * RainbowParenthesesLoadRound
au Syntax * RainbowParenthesesLoadSquare
au Syntax * RainbowParenthesesLoadBraces

set background=dark
colorscheme gruvbox

" Show hidden files in NERDTree by default
let NERDTreeShowHidden=1

let g:goyo_width = 100

" Airline configuration
let g:airline_theme='wombat'
let g:airline_powerline_fonts = 1
" let g:airline#extensions#branch#enabled = 1
" let g:airline#extensions#syntastic#enabled = 1
" let g:airline#extensions#tabline#enabled = 1
" let g:airline#extensions#taboo#enabled = 1
" let g:airline#extensions#tagbar#enabled = 1
" let g:airline#extensions#whitespace#enabled = 1
" let g:airline#extensions#whitespace#mixed_indent_algo = 0
" let g:airline_left_sep=''
" let g:airline_powerline_fonts = 0
" let g:airline_right_sep=''

" ### Markdown Preview configuration ###
" Use GitHub flavoured markdown
let vim_markdown_preview_github=1
" Render images
let vim_markdown_preview_toggle=1"

" Strip all trailing whitespace everytime a file is saved,
" applies to all file types
autocmd BufEnter * EnableStripWhitespaceOnSave<commit_msg>[vim] Lazy load Goyo and Nerdtree<commit_after>let PLUGINS_DIR = '$HOME/.vim/plugins'

set nocompatible
call plug#begin(fnameescape(expand(PLUGINS_DIR)))

" Color Schemes
" https://github.com/morhetz/gruvbox/wiki/Installation
Plug 'morhetz/gruvbox'

" https://github.com/junegunn/seoul256.vim
Plug 'junegunn/seoul256.vim'

Plug 'scrooloose/nerdtree', { 'on':  'NERDTreeToggle' }
Plug 'junegunn/goyo.vim', { 'on':  'Goyo' }
Plug 'JamshedVesuna/vim-markdown-preview'
Plug 'airblade/vim-gitgutter'
Plug 'wakatime/vim-wakatime'
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'tpope/vim-commentary'

" Languages {

    Plug 'pangloss/vim-javascript'
    Plug 'tpope/vim-markdown'
    Plug 'python-mode/python-mode'

    " HTML + CSS
    Plug 'hail2u/vim-css3-syntax'
    Plug 'othree/html5.vim'
" }

" Editing
Plug 'Raimondi/delimitMate'
Plug 'kien/rainbow_parentheses.vim'
Plug 'ntpeters/vim-better-whitespace'

call plug#end()


" #############################################
" ############### CONFIGURATION ###############
" #############################################

au VimEnter * RainbowParenthesesToggle
au Syntax * RainbowParenthesesLoadRound
au Syntax * RainbowParenthesesLoadSquare
au Syntax * RainbowParenthesesLoadBraces

set background=dark
colorscheme gruvbox

" Show hidden files in NERDTree by default
let NERDTreeShowHidden=1

let g:goyo_width = 100

" Airline configuration
let g:airline_theme='wombat'
let g:airline_powerline_fonts = 1
" let g:airline#extensions#branch#enabled = 1
" let g:airline#extensions#syntastic#enabled = 1
" let g:airline#extensions#tabline#enabled = 1
" let g:airline#extensions#taboo#enabled = 1
" let g:airline#extensions#tagbar#enabled = 1
" let g:airline#extensions#whitespace#enabled = 1
" let g:airline#extensions#whitespace#mixed_indent_algo = 0
" let g:airline_left_sep=''
" let g:airline_powerline_fonts = 0
" let g:airline_right_sep=''

" ### Markdown Preview configuration ###
" Use GitHub flavoured markdown
let vim_markdown_preview_github=1
" Render images
let vim_markdown_preview_toggle=1
let vim_markdown_preview_browser='Google Chrome'

" Strip all trailing whitespace everytime a file is saved,
" applies to all file types
autocmd BufEnter * EnableStripWhitespaceOnSave
{'fraction_non_alphanumeric': 0.15507900677200903, 'fraction_numerical': 0.010835214446952596, 'mean_word_length': 6.193181818181818, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '7344444', 'n_tokens_mistral': 1723, 'n_tokens_neox': 1558, 'n_words': 307}