<commit_before>"setup {{{1
  let mapleader = " "
  set shortmess+=I
  let g:isLinux = system('uname') == "Linux\n"
  let g:isMac = !g:isLinux

"plugins {{{1
   "setup Vundle {{{2
      "install setup {{{3
         let vundleDir = expand('~/.vim/bundle/')
         let vundleDoInstall = 0
         if !isdirectory(vundleDir)
            let gitUrl = "https://github.com/gmarik/vundle.git"
            call mkdir(vundleDir)
            exec "!git clone ".gitUrl." ".vundleDir."vundle"
            let vundleDoInstall = 1
         endif
      "normal setup {{{3
         filetype off
         set runtimepath=$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,~/.vim/bundle/vundle
         call vundle#begin()
         Plugin 'gmarik/vundle'
      "}}}
   "}}}

   Plugin 'cespare/vim-toml'
   Plugin 'trevordmiller/nova-vim'
   Plugin 'pangloss/vim-javascript'
   Plugin 'helino/vim-json'
   Plugin 'Raimondi/delimitMate'
   Plugin 'PeterRincker/vim-argumentative'
   Plugin 'JulesWang/css.vim'
   Plugin 'artur-shaik/vim-javacomplete2'
   Plugin 'evanmiller/nginx-vim-syntax'
   Plugin 'tpope/vim-repeat'
   Plugin 'ekalinin/Dockerfile.vim'
   Plugin 'rking/ag.vim'
   Plugin 'diepm/vim-rest-console'
   Plugin 'tpope/vim-obsession'
   Plugin 'reedes/vim-pencil'
   Plugin 'Wolfy87/vim-enmasse'
   Plugin 'Wolfy87/vim-expand'
   Plugin 'c0r73x/vimdir.vim'
   "Plugin 'chriskempson/base16-vim'
   Plugin 'xolox/vim-misc'
   Plugin 'xolox/vim-colorscheme-switcher'
   Plugin 'edsono/vim-matchit'
   Plugin 'tpope/vim-surround'
   Plugin 'tpope/vim-commentary'
   "Plugin 'altercation/vim-colors-solarized'
   Plugin 'flazz/vim-colorschemes'
   Plugin 'isRuslan/vim-es6'
   Plugin 'octol/vim-cpp-enhanced-highlight'
   Plugin 'vim-scripts/glsl.vim'
   Plugin 'mattn/emmet-vim'
   "Plugin 'junegunn/vim-easy-align' {{{2
     Plugin 'junegunn/vim-easy-align'
     vmap ga <Plug>(EasyAlign)
   "Plugin 'majutsushi/tagbar' {{{2
      Plugin 'majutsushi/tagbar'
      let g:tagbar_left = 0
      "let g:tagbar_vertical = 30
   "Plugin 'guns/vim-sexp' {{{2
      Plugin 'guns/vim-sexp'
      let g:sexp_mappings = {
            \ 'sexp_swap_list_backward':        '<C-k>',
            \ 'sexp_swap_list_forward':         '<C-j>',
            \ 'sexp_swap_element_backward':     '<C-h>',
            \ 'sexp_swap_element_forward':      '<C-l>',
         \ }
   "Plugin 'fatih/vim-go' {{{2
   "
     Plugin 'fatih/vim-go'
     let g:go_fmt_command = "goimports"
     let g:go_fmt_command = "gofmt"
     let g:go_fmt_fail_silently = 1
     let g:go_def_mapping_enabled = 0

     "don't do whitespace errors, go fmt will eliminate them
     let g:go_highlight_trailing_whitespace_error = 0
     let g:go_highlight_array_whitespace_error = 0
     let g:go_highlight_chan_whitespace_error = 0
     let g:go_highlight_space_tab_error = 0

     "highlight a bunch of stuff
     let g:go_highlight_operators = 1
     let g:go_highlight_functions = 1
     let g:go_highlight_methods = 1
     let g:go_highlight_structs = 1
     let g:go_highlight_interfaces = 1
     let g:go_highlight_build_constraints = 1
     let g:go_auto_type_info = 0

     "I like my own K key, thanks
     let g:go_doc_keywordprg_enabled = 0

     "I only want my own snippets
     let g:go_snippet_engine = ""

     "I don't want the templates
     let g:go_template_autocreate = 0

     " "Scope guru to the whole gopath
     " let g:go_guru_scope = [""]
   "Plugin 'jimenezrick/vimerl' {{{2
      "Plugin 'jimenezrick/vimerl'
      "let erlang_force_use_vimerl_indent = 1
   "Plugin 'raichoo/haskell-vim' {{{2
      "let g:haskell_indent_in = 0
      "Plugin 'raichoo/haskell-vim'
   "Plugin 'bitc/vim-hdevtools' {{{2
     "let g:syntastic_haskell_hdevtools_args = '' "'-g-Wall'
     "Plugin 'bitc/vim-hdevtools'
 "}}}
   "Plugin 'eagletmt/ghcmod-vim' {{{2
   "Plugin 'eagletmt/ghcmod-vim'
   "Plugin 'eagletmt/neco-ghc'
 "}}}
   "Plugin 'Shougo/unite.vim' {{{2
      "let g:unite_source_history_yank_enable = 1
       "Plugin 'Shougo/unite.vim'
       "Plugin 'Shougo/vimproc.vim'
       ""todo: try -auto-preview
       "nmap <leader>o :<C-u>Unite -start-insert -no-split -no-resize -auto-preview -vertical-preview file_rec/git<cr>
       "nmap <leader>O :<C-u>Unite -start-insert -no-split -no-resize -auto-preview -vertical-preview file_rec/async<cr>
       "nmap <leader>a :<C-u>Unite -custom-grep-search-word-highlight grep:.<cr>
       "nmap <leader>b :<C-u>Unite -quick-match buffer<cr>
       "nmap <leader>y :<C-u>Unite history/yank<cr>
       "nmap <leader>P :<C-u>Unite process<cr>
       "nmap <leader>s :<C-u>Unite -start-insert source<cr>
       "let g:unite_source_grep_command = 'ag'
       "let g:unite_source_grep_default_opts =
       "  \ '-i --line-numbers --nocolor --nogroup --hidden --ignore ' .
       "  \  '''.hg'' --ignore ''.svn'' --ignore ''.git'' --ignore ''.bzr'''
       "let g:unite_source_grep_recursive_opt = ''

   "Plugin 'Valloric/YouCompleteMe' {{{2
      command! YouCompleteMeInstall :!cd ~/.vim/bundle/YouCompleteMe && git submodule update --init --recursive && ./install.py --gocode-completer
      "Plugin 'Valloric/YouCompleteMe'
      let g:ycm_min_num_identifier_candidate_chars = 99 "only complete on '.' or '->'
      let g:ycm_min_num_identifier_candidate_chars = 2
      "let g:ycm_filetype_whitelist = { 'cpp': 1, 'hpp': 1 }
      "let g:ycm_global_ycm_extra_conf = '~/config/vim/.ycm_extra_conf.py'
      let g:ycm_show_diagnostics_ui = 0
      "let g:ycm_autoclose_preview_window_after_completion = 1
      let g:ycm_autoclose_preview_window_after_insertion = 1
      let g:ycm_use_ultisnips_completer = 0
      let g:ycm_key_list_select_completion = ['<C-N>']
      let g:ycm_key_list_previous_completion = ['<C-P>']

      let g:ycm_add_preview_to_completeopt = 0
      let g:ycm_min_num_of_chars_for_completion = 1
      let g:ycm_auto_trigger = 1
   "Plugin 'tpope/vim-vinegar' {{{2
     nmap - k
     Plugin 'tpope/vim-vinegar'
     nnoremap <leader>d :Explore<cr>
     nnoremap <leader>D :exec ":e ".getcwd()<cr>
   "Plugin 'jeetsukumaran/vim-filebeagle' {{{2
      " Plugin 'jeetsukumaran/vim-filebeagle'
      " nnoremap <leader>d :FileBeagleBufferDir<cr>
      " nnoremap <leader>D :FileBeagle<cr>
      " let g:filebeagle_suppress_keymaps = 1
      " let g:filebeagle_hijack_netrw = 1
      " nmap <leader>= :vsplit<cr>:FileBeagleBufferDir<cr>
      " nmap <leader>- :split<cr>:FileBeagleBufferDir<cr>

   "Plugin 'jeetsukumaran/vim-buffersaurus' {{{2
   Plugin 'jeetsukumaran/vim-buffersaurus'

   "Plugin 'tpope/vim-fugitive' {{{2
      Plugin 'tpope/vim-fugitive'
      Plugin 'idanarye/vim-merginal'
      augroup Fugitive
         autocmd!
         autocmd BufReadPost fugitive://* set bufhidden=delete
      augroup END
   "Plugin 'scrooloose/syntastic' {{{2
   Plugin 'scrooloose/syntastic'
     let g:syntastic_error_symbol='✗'
     let g:syntastic_style_error_symbol='✗'
     let g:syntastic_warning_symbol='⚠'
     let g:syntastic_style_warning_symbol='⚠'<commit_msg>Remove a few less used plugins to try and speed things up<commit_after>"setup {{{1
  let mapleader = " "
  set shortmess+=I
  let g:isLinux = system('uname') == "Linux\n"
  let g:isMac = !g:isLinux

"plugins {{{1
   "setup Vundle {{{2
      "install setup {{{3
         let vundleDir = expand('~/.vim/bundle/')
         let vundleDoInstall = 0
         if !isdirectory(vundleDir)
            let gitUrl = "https://github.com/gmarik/vundle.git"
            call mkdir(vundleDir)
            exec "!git clone ".gitUrl." ".vundleDir."vundle"
            let vundleDoInstall = 1
         endif
      "normal setup {{{3
         filetype off
         set runtimepath=$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,~/.vim/bundle/vundle
         call vundle#begin()
         Plugin 'gmarik/vundle'
      "}}}
   "}}}

   Plugin 'cespare/vim-toml'
   Plugin 'trevordmiller/nova-vim'
   Plugin 'pangloss/vim-javascript'
   Plugin 'helino/vim-json'
   Plugin 'Raimondi/delimitMate'
   Plugin 'PeterRincker/vim-argumentative'
   Plugin 'JulesWang/css.vim'
   " Plugin 'artur-shaik/vim-javacomplete2'
   Plugin 'evanmiller/nginx-vim-syntax'
   Plugin 'tpope/vim-repeat'
   Plugin 'ekalinin/Dockerfile.vim'
   Plugin 'rking/ag.vim'
   " Plugin 'diepm/vim-rest-console'
   Plugin 'tpope/vim-obsession'
   Plugin 'reedes/vim-pencil'
   Plugin 'Wolfy87/vim-enmasse'
   " Plugin 'Wolfy87/vim-expand'
   Plugin 'c0r73x/vimdir.vim'
   "Plugin 'chriskempson/base16-vim'
   Plugin 'xolox/vim-misc'
   Plugin 'xolox/vim-colorscheme-switcher'
   Plugin 'edsono/vim-matchit'
   Plugin 'tpope/vim-surround'
   Plugin 'tpope/vim-commentary'
   "Plugin 'altercation/vim-colors-solarized'
   Plugin 'flazz/vim-colorschemes'
   Plugin 'isRuslan/vim-es6'
   " Plugin 'octol/vim-cpp-enhanced-highlight'
   Plugin 'vim-scripts/glsl.vim'
   Plugin 'mattn/emmet-vim'
   "Plugin 'junegunn/vim-easy-align' {{{2
     Plugin 'junegunn/vim-easy-align'
     vmap ga <Plug>(EasyAlign)
   "Plugin 'majutsushi/tagbar' {{{2
      Plugin 'majutsushi/tagbar'
      let g:tagbar_left = 0
      "let g:tagbar_vertical = 30
   "Plugin 'guns/vim-sexp' {{{2
      Plugin 'guns/vim-sexp'
      let g:sexp_mappings = {
            \ 'sexp_swap_list_backward':        '<C-k>',
            \ 'sexp_swap_list_forward':         '<C-j>',
            \ 'sexp_swap_element_backward':     '<C-h>',
            \ 'sexp_swap_element_forward':      '<C-l>',
         \ }
   "Plugin 'fatih/vim-go' {{{2
   "
     Plugin 'fatih/vim-go'
     let g:go_fmt_command = "goimports"
     let g:go_fmt_command = "gofmt"
     let g:go_fmt_fail_silently = 1
     let g:go_def_mapping_enabled = 0

     "don't do whitespace errors, go fmt will eliminate them
     let g:go_highlight_trailing_whitespace_error = 0
     let g:go_highlight_array_whitespace_error = 0
     let g:go_highlight_chan_whitespace_error = 0
     let g:go_highlight_space_tab_error = 0

     "highlight a bunch of stuff
     let g:go_highlight_operators = 1
     let g:go_highlight_functions = 1
     let g:go_highlight_methods = 1
     let g:go_highlight_structs = 1
     let g:go_highlight_interfaces = 1
     let g:go_highlight_build_constraints = 1
     let g:go_auto_type_info = 0

     "I like my own K key, thanks
     let g:go_doc_keywordprg_enabled = 0

     "I only want my own snippets
     let g:go_snippet_engine = ""

     "I don't want the templates
     let g:go_template_autocreate = 0

     " "Scope guru to the whole gopath
     " let g:go_guru_scope = [""]
   "Plugin 'jimenezrick/vimerl' {{{2
      "Plugin 'jimenezrick/vimerl'
      "let erlang_force_use_vimerl_indent = 1
   "Plugin 'raichoo/haskell-vim' {{{2
      "let g:haskell_indent_in = 0
      "Plugin 'raichoo/haskell-vim'
   "Plugin 'bitc/vim-hdevtools' {{{2
     "let g:syntastic_haskell_hdevtools_args = '' "'-g-Wall'
     "Plugin 'bitc/vim-hdevtools'
 "}}}
   "Plugin 'eagletmt/ghcmod-vim' {{{2
   "Plugin 'eagletmt/ghcmod-vim'
   "Plugin 'eagletmt/neco-ghc'
 "}}}
   "Plugin 'Shougo/unite.vim' {{{2
      "let g:unite_source_history_yank_enable = 1
       "Plugin 'Shougo/unite.vim'
       "Plugin 'Shougo/vimproc.vim'
       ""todo: try -auto-preview
       "nmap <leader>o :<C-u>Unite -start-insert -no-split -no-resize -auto-preview -vertical-preview file_rec/git<cr>
       "nmap <leader>O :<C-u>Unite -start-insert -no-split -no-resize -auto-preview -vertical-preview file_rec/async<cr>
       "nmap <leader>a :<C-u>Unite -custom-grep-search-word-highlight grep:.<cr>
       "nmap <leader>b :<C-u>Unite -quick-match buffer<cr>
       "nmap <leader>y :<C-u>Unite history/yank<cr>
       "nmap <leader>P :<C-u>Unite process<cr>
       "nmap <leader>s :<C-u>Unite -start-insert source<cr>
       "let g:unite_source_grep_command = 'ag'
       "let g:unite_source_grep_default_opts =
       "  \ '-i --line-numbers --nocolor --nogroup --hidden --ignore ' .
       "  \  '''.hg'' --ignore ''.svn'' --ignore ''.git'' --ignore ''.bzr'''
       "let g:unite_source_grep_recursive_opt = ''

   "Plugin 'Valloric/YouCompleteMe' {{{2
      command! YouCompleteMeInstall :!cd ~/.vim/bundle/YouCompleteMe && git submodule update --init --recursive && ./install.py --gocode-completer
      "Plugin 'Valloric/YouCompleteMe'
      let g:ycm_min_num_identifier_candidate_chars = 99 "only complete on '.' or '->'
      let g:ycm_min_num_identifier_candidate_chars = 2
      "let g:ycm_filetype_whitelist = { 'cpp': 1, 'hpp': 1 }
      "let g:ycm_global_ycm_extra_conf = '~/config/vim/.ycm_extra_conf.py'
      let g:ycm_show_diagnostics_ui = 0
      "let g:ycm_autoclose_preview_window_after_completion = 1
      let g:ycm_autoclose_preview_window_after_insertion = 1
      let g:ycm_use_ultisnips_completer = 0
      let g:ycm_key_list_select_completion = ['<C-N>']
      let g:ycm_key_list_previous_completion = ['<C-P>']

      let g:ycm_add_preview_to_completeopt = 0
      let g:ycm_min_num_of_chars_for_completion = 1
      let g:ycm_auto_trigger = 1
   "Plugin 'tpope/vim-vinegar' {{{2
     nmap - k
     Plugin 'tpope/vim-vinegar'
     nnoremap <leader>d :Explore<cr>
     nnoremap <leader>D :exec ":e ".getcwd()<cr>
   "Plugin 'jeetsukumaran/vim-filebeagle' {{{2
      " Plugin 'jeetsukumaran/vim-filebeagle'
      " nnoremap <leader>d :FileBeagleBufferDir<cr>
      " nnoremap <leader>D :FileBeagle<cr>
      " let g:filebeagle_suppress_keymaps = 1
      " let g:filebeagle_hijack_netrw = 1
      " nmap <leader>= :vsplit<cr>:FileBeagleBufferDir<cr>
      " nmap <leader>- :split<cr>:FileBeagleBufferDir<cr>

   "Plugin 'jeetsukumaran/vim-buffersaurus' {{{2
   Plugin 'jeetsukumaran/vim-buffersaurus'

   "Plugin 'tpope/vim-fugitive' {{{2
      Plugin 'tpope/vim-fugitive'
      Plugin 'idanarye/vim-merginal'
      augroup Fugitive
         autocmd!
         autocmd BufReadPost fugitive://* set bufhidden=delete
      augroup END
   "Plugin 'scrooloose/syntastic' {{{2
   "Plugin 'scrooloose/syntastic'
     let g:syntastic_error_symbol='✗'
     let g:syntastic_style_error_symbol='✗'
     let g:syntastic_warning_symbol='⚠'
     let g:syntastic_style_warning_symbol='⚠'
{'fraction_non_alphanumeric': 0.12965468138127448, 'fraction_numerical': 0.00968316126735493, 'mean_word_length': 2.9677966101694917, 'pattern_counts': {'":': 2, '<': 87, '<?xml version=': 0, '>': 89, 'https://': 2, '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': '3348091', 'n_tokens_mistral': 5786, 'n_tokens_neox': 5350, 'n_words': 982}