<commit_before>" ############################################################################
"
"                               fzf_vim Setttings
"
"                                     -`
"                     ...            .o+`
"                  .+++s+   .h`.    `ooo/
"                 `+++%++  .h+++   `+oooo:
"                 +++o+++ .hhs++. `+oooooo:
"                 +s%%so%.hohhoo'  'oooooo+:
"                 `+ooohs+h+sh++`/:  ++oooo+:
"                  hh+o+hoso+h+`/++++.+++++++:
"                   `+h+++h.+ `/++++++++++++++:
"                            `/+++ooooooooooooo/`
"                           ./ooosssso++osssssso+`
"                          .oossssso-````/osssss::`
"                         -osssssso.      :ssss``to.
"                        :osssssss/  Mike  osssl   +
"                       /ossssssss/   8a   +sssslb
"                     `/ossssso+/:-        -:/+ossss'.-
"                    `+sso+:-`                 `.-/+oso:
"                   `++:.  github.com/mike325/.vim  `-/+/
"                   .`                                 `/
"
" ############################################################################

function! plugins#fzf_vim#init(data) abort
    if  !exists('g:plugs["fzf"]') || !exists('g:plugs["fzf.vim"]')
        return -1
    endif

    nnoremap <C-p> :Files<CR>
    nnoremap <C-b> :Buffers<CR>

    " preview function use bash, so windows support
    if !os#name('windows')
        command! -bang -nargs=? -complete=dir Files
            \ call fzf#vim#files(<q-args>, fzf#vim#with_preview(), <bang>0)
    elseif &shell =~# '\v^cmd(\.exe)'
        let $FZF_DEFAULT_COMMAND = '( git ls-tree -r --name-only HEAD || '.tools#select_filelist(0).' ) 2> nul'
        let $FZF_CTRL_T_COMMAND = $FZF_DEFAULT_COMMAND
        if executable('fd')
            let $FZF_ALT_C_COMMAND = 'fd -t d . $HOME'
        endif
        let $FZF_DEFAULT_OPTS = '--layout=reverse --border'
    endif
endfunction<commit_msg>Remove preview form unix FZF settings<commit_after>" ############################################################################
"
"                               fzf_vim Setttings
"
"                                     -`
"                     ...            .o+`
"                  .+++s+   .h`.    `ooo/
"                 `+++%++  .h+++   `+oooo:
"                 +++o+++ .hhs++. `+oooooo:
"                 +s%%so%.hohhoo'  'oooooo+:
"                 `+ooohs+h+sh++`/:  ++oooo+:
"                  hh+o+hoso+h+`/++++.+++++++:
"                   `+h+++h.+ `/++++++++++++++:
"                            `/+++ooooooooooooo/`
"                           ./ooosssso++osssssso+`
"                          .oossssso-````/osssss::`
"                         -osssssso.      :ssss``to.
"                        :osssssss/  Mike  osssl   +
"                       /ossssssss/   8a   +sssslb
"                     `/ossssso+/:-        -:/+ossss'.-
"                    `+sso+:-`                 `.-/+oso:
"                   `++:.  github.com/mike325/.vim  `-/+/
"                   .`                                 `/
"
" ############################################################################

function! plugins#fzf_vim#init(data) abort
    if  !exists('g:plugs["fzf"]') || !exists('g:plugs["fzf.vim"]')
        return -1
    endif

    nnoremap <C-p> :Files<CR>
    nnoremap <C-b> :Buffers<CR>

    " preview function use bash, so windows support
    if os#name('windows') && &shell =~# '\v^cmd(\.exe)'
        let $FZF_DEFAULT_COMMAND = '( git ls-tree -r --name-only HEAD || '.tools#select_filelist(0).' ) 2> nul'
        let $FZF_CTRL_T_COMMAND = $FZF_DEFAULT_COMMAND
        if executable('fd')
            let $FZF_ALT_C_COMMAND = 'fd -t d . $HOME'
        endif
        let $FZF_DEFAULT_OPTS = '--layout=reverse --border'
    endif
endfunction
{'fraction_non_alphanumeric': 0.2533298511360669, 'fraction_numerical': 0.003917471924784539, 'mean_word_length': 1.2920406941950928, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 6, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '788064', 'n_tokens_mistral': 1340, 'n_tokens_neox': 1255, 'n_words': 190}