<commit_before>if exists("g:loaded_jab_python")
    finish
endif
let g:loaded_jab_python = "v001"

noremap } :cn<cr>
noremap { :cp<cr>

noremap D Oimport pudb<cr>pudb.set_trace()<esc>j
noremap tf :Fix<cr>
noremap tm :Mash<cr>
noremap tt :MashTry<cr>
noremap tr :Try<cr>
noremap tp :Pylint<cr>
noremap <S-F9> :call WritePEP()<cr>
noremap <leader><space> :%s/\s\+$//<cr>
noremap <leader>;   :s/:$//<cr>
noremap <leader>:   :s/$/:/<cr>
noremap <leader>8   b"aye<c-o>/\(def\\|class\) <c-r>a(<cr>
noremap <leader>c   ?^\s*class \zs\i<cr>*
noremap <leader>d   ?^\s*def \zs\i<cr>*zv
noremap <leader>o   O<esc>
noremap <leader>e   ?^\s*def \zs\i<cr>*#zv

call matchadd('ColorColumn', '\(\%80v\|\%100v\)', 100)

function! FoldCommentsAndIndentation(lnum)
    let line = getline(a:lnum)
    if line =~ '.*{{{'
        return 'a1'
    elseif line =~ '.*}}}'
        return 's1'
    endif
    let comment_re = '\v^\s*#(([{}]{3})@!.)*$'<commit_msg>Better function search (adapted from bash)<commit_after>if exists("g:loaded_jab_python")
    finish
endif
let g:loaded_jab_python = "v001"

noremap } :cn<cr>
noremap { :cp<cr>

noremap D Oimport pudb<cr>pudb.set_trace()<esc>j
noremap tf :Fix<cr>
noremap tm :Mash<cr>
noremap tt :MashTry<cr>
noremap tr :Try<cr>
noremap tp :Pylint<cr>
noremap <S-F9> :call WritePEP()<cr>
noremap <leader><space> :%s/\s\+$//<cr>
noremap <leader>;   :s/:$//<cr>
noremap <leader>:   :s/$/:/<cr>
noremap <leader>8   b"aye<c-o>/\(def\\|class\) <c-r>a(<cr>
noremap <leader>c   ?^\s*class \zs\i<cr>*
noremap <leader>d   ?^\s*def \i\+\zs.*<cr>*zv
noremap <leader>o   O<esc>
noremap <leader>e   ?^\s*def \zs\i<cr>*#zv

call matchadd('ColorColumn', '\(\%80v\|\%100v\)', 100)

function! FoldCommentsAndIndentation(lnum)
    let line = getline(a:lnum)
    if line =~ '.*{{{'
        return 'a1'
    elseif line =~ '.*}}}'
        return 's1'
    endif
    let comment_re = '\v^\s*#(([{}]{3})@!.)*$'
{'fraction_non_alphanumeric': 0.22911192853389384, 'fraction_numerical': 0.016815554387808723, 'mean_word_length': 3.9583333333333335, 'pattern_counts': {'":': 0, '<': 63, '<?xml version=': 0, '>': 63, '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': '746867', 'n_tokens_mistral': 940, 'n_tokens_neox': 863, 'n_words': 170}