<commit_before>"-------------------------------------------------------------------------------------------------"
" AUTHOR:  <NAME> - <EMAIL>                                                     "
" FILE:    settings.vim                                                                           "
" PURPOSE: Settings used in (neo)vim.                                                             "
" UPDATED: 2017-03-23                                                                             "
" LICENSE: ISC                                                                                    "
"-------------------------------------------------------------------------------------------------"
""" Unix file endings, no backups, no modelines, yes spelling, yes persistent undo history.
set fileformats=unix nobackup nomodeline spell spelllang=en_us undofile
scriptencoding utf-8

""" Use 4-wide spaces, no tabs.
set expandtab shiftwidth=4 softtabstop=4 tabstop=4

""" Allow reasonable folding. Wrap text at 99 columns, let movement spill over into next line.
set foldenable foldlevelstart=10 foldnestmax=5 foldmethod=syntax textwidth=99 whichwrap=[,],h,l,b,s

""" Color columns past textwidth.
""" Credit http://blog.hanschen.org/2012/10/24/different-background-color-in-vim-past-80-columns.
execute 'set colorcolumn=' . join(map(range(1,259,2), '"+" . v:val'), ',')

""" Highlight current line, no mode in status.
""" Ignore case in searching unless I use capital letters.
set cursorline noshowmode ignorecase smartcase

""" Use true color, set colorscheme.
set termguicolors background=dark
colorscheme gruvbox

set mouse=a

""" Use pipe cursor in insert mode.
set guicursor=n-v-c:block-Cursor/lCursor-blinkon0,i-ci:ver25-Cursor/lCursor,r-cr:hor20-Cursor/lCursor

" Figure out the system Python for Neovim.
if exists('$VIRTUAL_ENV')
    let g:python3_host_prog=substitute(system('which -a python3 | head -n2 | tail -n1'), '\n', '', 'g')
else
    let g:python3_host_prog=substitute(system('which python3'), '\n', '', 'g')
endif

""" JSON conceal.<commit_msg>force YCM to use python3<commit_after>"-------------------------------------------------------------------------------------------------"
" AUTHOR:  <NAME> - <EMAIL>                                                     "
" FILE:    settings.vim                                                                           "
" PURPOSE: Settings used in (neo)vim.                                                             "
" UPDATED: 2017-04-27                                                                             "
" LICENSE: ISC                                                                                    "
"-------------------------------------------------------------------------------------------------"
""" Unix file endings, no backups, no modelines, yes spelling, yes persistent undo history.
set fileformats=unix nobackup nomodeline spell spelllang=en_us undofile
scriptencoding utf-8

""" Use 4-wide spaces, no tabs.
set expandtab shiftwidth=4 softtabstop=4 tabstop=4

""" Allow reasonable folding. Wrap text at 99 columns, let movement spill over into next line.
set foldenable foldlevelstart=10 foldnestmax=5 foldmethod=syntax textwidth=99 whichwrap=[,],h,l,b,s

""" Color columns past textwidth.
""" Credit http://blog.hanschen.org/2012/10/24/different-background-color-in-vim-past-80-columns.
execute 'set colorcolumn=' . join(map(range(1,259,2), '"+" . v:val'), ',')

""" Make YCM use python3.
let g:ycm_python_binary_path = '/usr/bin/python3'

""" Highlight current line, no mode in status.
""" Ignore case in searching unless I use capital letters.
set cursorline noshowmode ignorecase smartcase

""" Use true color, set colorscheme.
set termguicolors background=dark
colorscheme gruvbox

set mouse=a

""" Use pipe cursor in insert mode.
set guicursor=n-v-c:block-Cursor/lCursor-blinkon0,i-ci:ver25-Cursor/lCursor,r-cr:hor20-Cursor/lCursor

" Figure out the system Python for Neovim.
if exists('$VIRTUAL_ENV')
    let g:python3_host_prog=substitute(system('which -a python3 | head -n2 | tail -n1'), '\n', '', 'g')
else
    let g:python3_host_prog=substitute(system('which python3'), '\n', '', 'g')
endif

""" JSON conceal.
{'fraction_non_alphanumeric': 0.19349477682811017, 'fraction_numerical': 0.02255460588793922, 'mean_word_length': 1.6314803247970018, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 26, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6780522', 'n_tokens_mistral': 1139, 'n_tokens_neox': 1048, 'n_words': 308}