<commit_before>" distraction-free writing {{{1
let b:writing = 0
noremap <buffer> <leader>;; :call <sid>toggleWriting()<cr>
func! <sid>toggleWriting()
  let width = 55
  exec "set tw=" . width
  PencilToggle
  Limelight!!
  if !b:writing
    let b:colorscheme = g:colors_name
    colorscheme osx_like
    exec "Goyo " . width
  else
    exec "colorscheme ".b:colorscheme
    Goyo
  endif
  let b:writing = !b:writing
endfunc

" outline/todos {{{1
inoremap <C-o> <esc>yypVr=o
nnoremap <buffer> <leader>;g :s/^[\ -]*/### /<cr>:nohlsearch<cr>
nnoremap <buffer> <leader>;G :let g:reg=@x<cr>:let @x=''<cr>:%g/^###/d X<cr>gg"xP:let @x = g:reg<cr><commit_msg>Minor fix to writing mode settings<commit_after>" distraction-free writing {{{1
let b:writing = 0
noremap <buffer> <leader>;; :call <sid>toggleWriting()<cr>
func! <sid>toggleWriting()
  let width = 55
  exec "set tw=" . width
  PencilToggle
  Limelight!!
  if !b:writing
    let b:colorscheme = g:colors_name
    colorscheme osx_like
    exec "Goyo " . (width + 1)
  else
    exec "colorscheme ".b:colorscheme
    Goyo
  endif
  let b:writing = !b:writing
endfunc

" outline/todos {{{1
inoremap <C-o> <esc>yypVr=o
nnoremap <buffer> <leader>;g :s/^[\ -]*/### /<cr>:nohlsearch<cr>
nnoremap <buffer> <leader>;G :let g:reg=@x<cr>:let @x=''<cr>:%g/^###/d X<cr>gg"xP:let @x = g:reg<cr>
{'fraction_non_alphanumeric': 0.1825694966190834, 'fraction_numerical': 0.008264462809917356, 'mean_word_length': 4.328, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 0, '>': 37, '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': '1838808', 'n_tokens_mistral': 575, 'n_tokens_neox': 547, 'n_words': 129}