<commit_before>" TABLE OF CONTENTS:
" 1. GENERIC SETTINGS
" 2. VIM-PLUG PLUGINS
" 3. USER INTERFACE
" 4. COLORS AND FONTS
" 5. FILE SETTINGS
" 6. TEXT SETTINGS
" 7. VISUAL MODE
" 8. NAVIGATION
" 9. EDITING
" 10. VIMGREP
" 11. Spell Checking
" 12. MISC
" 13. HELPER FUNCTIONS
" 14. PLUGIN SETTINGS

" ==============================================================================
" 1. GENERIC SETTINGS
" ==============================================================================
" Disable vi compatibility mode
set nocompatible

" Increase history size
set history=1000

"Set the width of a page
set textwidth=80

"Map leader to \ and space to the leader
let mapleader='\'
let maplocalleader=','
map <space> <leader>
map <space><space> <leader><leader>

" save all files on focus lost, ignoring warnings about untitled buffers
autocmd FocusLost * silent! wa
" ==============================================================================
" 2. VIM-PLUG PLUGINS
" ==============================================================================
" Init vim-plug
if has("win32") || has("win64")
  call plug#begin('$USERPROFILE/vimfiles/plugged/')
else
  call plug#begin('~/.vim/plugged/')
end

" Plug-ins
Plug 'tpope/vim-fugitive'                     " Git
Plug 'vim-airline/vim-airline'                " Airline
Plug 'vim-airline/vim-airline-themes'         " themes for vim-airline
Plug 'majutsushi/tagbar'                      " Tagbar
Plug 'ctrlpvim/ctrlp.vim'                     " Ctrl-P
Plug 'Chiel92/vim-autoformat'                 " Autoformat
Plug 'scrooloose/nerdcommenter'               " Comments
Plug 'ervandew/screen'                        " Tmux

Plug 'benekastah/neomake'                     " Syntastic for neovim
Plug 'Yggdroot/indentLine'                    " Indent Lines
Plug 'justincampbell/vim-eighties'            " Auto Resize splits
Plug 'godlygeek/tabular'                      " Align Comments

" Language support
Plug 'sirtaj/vim-openscad'                    " OpenScad
Plug 'JuliaEditorSupport/julia-vim'           " Julia
Plug 'vim-scripts/indentpython.vim'           " Python
Plug 'sophacles/vim-processing'               " Processing
Plug 'jvirtanen/vim-octave'                   " Octave
Plug 'jalvesaq/Nvim-R'                        " R
Plug 'lervag/vimtex'                          " LaTeX
Plug 'SirVer/ultisnips'                       " Snippets
" Plug 'ervandew/supertab'                      " Snippets
Plug 'honza/vim-snippets'                     " Snippets
Plug 'tikhomirov/vim-glsl'                    " GLSL


"Autocompletion
Plug 'Valloric/YouCompleteMe', { 'do': ':UpdateRemotePlugins' }

" Colorschemes
Plug 'chriskempson/base16-vim'

call plug#end()

" ==============================================================================
" 3. USER INTERFACE
"
" ==============================================================================
" Set 7 lines to the cursor - when moving vertically using j/k
set so=7<commit_msg>Add Grammarous Plugin<commit_after>" TABLE OF CONTENTS:
" 1. GENERIC SETTINGS
" 2. VIM-PLUG PLUGINS
" 3. USER INTERFACE
" 4. COLORS AND FONTS
" 5. FILE SETTINGS
" 6. TEXT SETTINGS
" 7. VISUAL MODE
" 8. NAVIGATION
" 9. EDITING
" 10. VIMGREP
" 11. Spell Checking
" 12. MISC
" 13. HELPER FUNCTIONS
" 14. PLUGIN SETTINGS

" ==============================================================================
" 1. GENERIC SETTINGS
" ==============================================================================
" Disable vi compatibility mode
set nocompatible

" Increase history size
set history=1000

"Set the width of a page
set textwidth=80

"Map leader to \ and space to the leader
let mapleader='\'
let maplocalleader=','
map <space> <leader>
map <space><space> <leader><leader>

" save all files on focus lost, ignoring warnings about untitled buffers
autocmd FocusLost * silent! wa
" ==============================================================================
" 2. VIM-PLUG PLUGINS
" ==============================================================================
" Init vim-plug
if has("win32") || has("win64")
  call plug#begin('$USERPROFILE/vimfiles/plugged/')
else
  call plug#begin('~/.vim/plugged/')
end

" Plug-ins
Plug 'tpope/vim-fugitive'                     " Git
Plug 'vim-airline/vim-airline'                " Airline
Plug 'vim-airline/vim-airline-themes'         " themes for vim-airline
Plug 'majutsushi/tagbar'                      " Tagbar
Plug 'ctrlpvim/ctrlp.vim'                     " Ctrl-P
Plug 'Chiel92/vim-autoformat'                 " Autoformat
Plug 'scrooloose/nerdcommenter'               " Comments
Plug 'ervandew/screen'                        " Tmux

Plug 'benekastah/neomake'                     " Syntastic for neovim
Plug 'Yggdroot/indentLine'                    " Indent Lines
Plug 'justincampbell/vim-eighties'            " Auto Resize splits
Plug 'godlygeek/tabular'                      " Align Comments
Plug 'rhysd/vim-grammarous'                   " Grammar Checking

" Language support
Plug 'sirtaj/vim-openscad'                    " OpenScad
Plug 'JuliaEditorSupport/julia-vim'           " Julia
Plug 'vim-scripts/indentpython.vim'           " Python
Plug 'sophacles/vim-processing'               " Processing
Plug 'jvirtanen/vim-octave'                   " Octave
Plug 'jalvesaq/Nvim-R'                        " R
Plug 'lervag/vimtex'                          " LaTeX
Plug 'SirVer/ultisnips'                       " Snippets
" Plug 'ervandew/supertab'                      " Snippets
Plug 'honza/vim-snippets'                     " Snippets
Plug 'tikhomirov/vim-glsl'                    " GLSL


"Autocompletion
Plug 'Valloric/YouCompleteMe', { 'do': ':UpdateRemotePlugins' }

" Colorschemes
Plug 'chriskempson/base16-vim'

call plug#end()

" ==============================================================================
" 3. USER INTERFACE
"
" ==============================================================================
" Set 7 lines to the cursor - when moving vertically using j/k
set so=7
{'fraction_non_alphanumeric': 0.24029975020815986, 'fraction_numerical': 0.012656119900083264, 'mean_word_length': 2.73972602739726, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, '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': '6845980', 'n_tokens_mistral': 1986, 'n_tokens_neox': 1667, 'n_words': 441}