<commit_before>" Floaterm:
let g:floaterm_gitcommit='floaterm'
let g:floaterm_autoinsert=1
let g:floaterm_width=0.8
let g:floaterm_height=0.8
let g:floaterm_wintitle=0
let g:floaterm_autoclose=1

" nnoremap <C-p> :FloatermNew fzf<CR>
nnoremap <C-p> :FloatermNew fzf --preview '~/.vim/plugged/fzf.vim/bin/preview.sh {}'<CR>
nnoremap <leader>fz :FloatermNew fzf --preview '~/.vim/plugged/fzf.vim/bin/preview.sh {}'<CR>
nnoremap <leader>fs :FloatermNew zsh<CR>
nnoremap <leader>fr :FloatermNew ranger<CR>
nnoremap <leader>fp :FloatermNew  wintype='normal' position='right' width=0.5 ipython<CR>

nnoremap <leader>ff :FloatermToggle<CR>
tnoremap <leader>ff <C-\><C-n>:FloatermToggle<CR>
tnoremap <leader>fj <C-\><C-n>

nnoremap <leader>fh :FloatermPrev<CR>
tnoremap <leader>fh <C-\><C-n>:FloatermPrev<CR>
nnoremap <leader>fl :FloatermNext<CR>
tnoremap <leader>fl <C-\><C-n>:FloatermNext<CR><commit_msg>Floaterm shortcuts<commit_after>" Floaterm:
let g:floaterm_gitcommit='floaterm'
let g:floaterm_autoinsert=1
let g:floaterm_width=0.8
let g:floaterm_height=0.8
let g:floaterm_wintitle=0
let g:floaterm_autoclose=1

" nnoremap <C-p> :FloatermNew fzf<CR>
nnoremap <C-p> :FloatermNew fzf --preview '~/.vim/plugged/fzf.vim/bin/preview.sh {}'<CR>
nnoremap <leader>fz :FloatermNew fzf --preview '~/.vim/plugged/fzf.vim/bin/preview.sh {}'<CR>
nnoremap <leader>fs :FloatermNew zsh<CR>
nnoremap <leader>fr :FloatermNew ranger<CR>
nnoremap <leader>fp :FloatermNew  --wintype=normal --position=right --width=0.4 ipython<CR>
nnoremap <leader>fP :FloatermNew  --wintype=normal --position=right --width=0.4 python<CR>

nnoremap <leader>ff :FloatermToggle<CR>
tnoremap <leader>ff <C-\><C-n>:FloatermToggle<CR>
tnoremap <leader>fj <C-\><C-n>

nnoremap <leader>fh :FloatermPrev<CR>
tnoremap <leader>fh <C-\><C-n>:FloatermPrev<CR>
nnoremap <leader>fl :FloatermNext<CR>
tnoremap <leader>fl <C-\><C-n>:FloatermNext<CR>

nnoremap <leader>f> :FloatermSend<CR>
vnoremap <leader>f> :FloatermSend<CR>
{'fraction_non_alphanumeric': 0.1689497716894977, 'fraction_numerical': 0.010147133434804667, 'mean_word_length': 6.951612903225806, 'pattern_counts': {'":': 0, '<': 75, '<?xml version=': 0, '>': 77, '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': '6634172', 'n_tokens_mistral': 972, 'n_tokens_neox': 839, 'n_words': 149}