<commit_before>set colorcolumn=80
set clipboard+=unnamedplus,unnamed

set inccommand=split
" Let me run off and modify files without write
set hidden
" Make hidden less "evil"
set autowrite
" Macro redrawing
set lazyredraw
" Stop file watchers from freaking out
set directory=~/.local/share/nvim/tmp
set backupdir=~/.local/share/nvim/backup
" Better diffing
set diffexpr=py3diff#diffexpr()

" Insertion cursor is |
set guicursor=n-v-c:block-Cursor/lCursor-blinkon0,i-ci:ver25-Cursor/lCursor,r-cr:hor20-Cursor/lCursor

let g:localrc_filename = ".local.vim"

autocmd BufNewFile,BufRead init.vim
		  \ setlocal cc=60 |
		  \ setlocal foldmethod=marker |
		  \ setlocal autoindent

noremap <leader>vs :source $MYVIMRC<CR>
noremap <leader>ve :62vsplit $MYVIMRC<CR>

function! s:EditLayerComplete(ArgLead, CmdLine, CursorPos)
  return join(g:layer_names, "\n")
endfunction

function! s:LR(path)
  return resolve(expand(a:path))
endfunction

function! s:EditLayer(args)
  tabnew
  exec ':e '.s:LR(g:config_base_dir.'/layer/'.a:args.'/after')
  exec ':vsplit '.s:LR(g:config_base_dir.'/layer/'.a:args.'/config.vim')
  exec ':vsplit '.s:LR(g:config_base_dir.'/layer/'.a:args.'/package.vim')
endfunction

" Use custom, not customlist because vim filters the former
command! -complete=custom,s:EditLayerComplete -nargs=1 EditLayer :exe s:EditLayer(<q-args>)

nnoremap <silent> <Esc> :<C-U>call halo#run()<CR>
nnoremap <silent> <C-c> :<C-U>call halo#run()<CR><C-c>
<commit_msg>Prefer vertical splits when diffing<commit_after>set colorcolumn=80
set clipboard+=unnamedplus,unnamed

set inccommand=split
" Let me run off and modify files without write
set hidden
" Make hidden less "evil"
set autowrite
" Macro redrawing
set lazyredraw
" Stop file watchers from freaking out
set directory=~/.local/share/nvim/tmp
set backupdir=~/.local/share/nvim/backup
" Better diffing
set diffexpr=py3diff#diffexpr()

" Insertion cursor is |
set guicursor=n-v-c:block-Cursor/lCursor-blinkon0,i-ci:ver25-Cursor/lCursor,r-cr:hor20-Cursor/lCursor

" Prefer vertical splits
set diffopt=filler,vertical

let g:localrc_filename = ".local.vim"

autocmd BufNewFile,BufRead init.vim
		  \ setlocal cc=60 |
		  \ setlocal foldmethod=marker |
		  \ setlocal autoindent

noremap <leader>vs :source $MYVIMRC<CR>
noremap <leader>ve :62vsplit $MYVIMRC<CR>

function! s:EditLayerComplete(ArgLead, CmdLine, CursorPos)
  return join(g:layer_names, "\n")
endfunction

function! s:LR(path)
  return resolve(expand(a:path))
endfunction

function! s:EditLayer(args)
  tabnew
  exec ':e '.s:LR(g:config_base_dir.'/layer/'.a:args.'/after')
  exec ':vsplit '.s:LR(g:config_base_dir.'/layer/'.a:args.'/config.vim')
  exec ':vsplit '.s:LR(g:config_base_dir.'/layer/'.a:args.'/package.vim')
endfunction

" Use custom, not customlist because vim filters the former
command! -complete=custom,s:EditLayerComplete -nargs=1 EditLayer :exe s:EditLayer(<q-args>)

nnoremap <silent> <Esc> :<C-U>call halo#run()<CR>
nnoremap <silent> <C-c> :<C-U>call halo#run()<CR><C-c>

{'fraction_non_alphanumeric': 0.1407185628742515, 'fraction_numerical': 0.008649367930805056, 'mean_word_length': 5.565502183406114, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 31, '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': '4791300', 'n_tokens_mistral': 1195, 'n_tokens_neox': 1132, 'n_words': 243}