<commit_before>" Workflow manipulation
" http://vim.wikia.com/wiki/Mapping_keys_in_Vim_-_Tutorial_%28Part_3%29

"" Appoint a line feed.
" ALT: :set fenc=utf8
" enc: [koi8-r, imb866, cp1251, cp866, utf8, reg:utf-16le, ucs-2le, ucs-2]
" ff: [unix, dos, mac]
com! -bang -bar -complete=file -nargs=? Wunix
  \ write<bang> ++enc=utf8 ++ff=unix ++nobin <args> | edit <args>
com! -bang -bar -complete=file -nargs=? Ewin
  \ edit<bang> ++enc=cp1251 ++ff=dos ++nobin <args>

" FIXED:(E173):SEE http://vim.1045645.n5.nabble.com/Re-how-to-suppress-quot-E173-1-more-file-to-edit-quot-td5716336.html#a5716344
" ALT: if argc()>1|sil blast|sil bfirst|en
set noconfirm   " abort action on unsaved for Qfast to work
com! -bar Qfast try|sil quit|catch/:E37/|conf quit
  \|catch/:E173/|try|sil qall|catch/E37/|conf qall|endt|endt
<commit_msg>[vim] fix bom for Wunix<commit_after>" Workflow manipulation
" http://vim.wikia.com/wiki/Mapping_keys_in_Vim_-_Tutorial_%28Part_3%29

"" Appoint a line feed.
" ALT: :set fenc=utf8
" enc: [koi8-r, imb866, cp1251, cp866, utf8, reg:utf-16le, ucs-2le, ucs-2]
" ff: [unix, dos, mac]
com! -bang -bar -complete=file -nargs=? Wunix
  \| set nobomb
  \| write<bang> ++enc=utf8 ++ff=unix ++nobin <args>
  \| edit <args>
com! -bang -bar -complete=file -nargs=? Ewin
  \ edit<bang> ++enc=cp1251 ++ff=dos ++nobin <args>

" FIXED:(E173):SEE http://vim.1045645.n5.nabble.com/Re-how-to-suppress-quot-E173-1-more-file-to-edit-quot-td5716336.html#a5716344
" ALT: if argc()>1|sil blast|sil bfirst|en
set noconfirm   " abort action on unsaved for Qfast to work
com! -bar Qfast try|sil quit|catch/:E37/|conf quit
  \|catch/:E173/|try|sil qall|catch/E37/|conf qall|endt|endt

{'fraction_non_alphanumeric': 0.17780429594272076, 'fraction_numerical': 0.07637231503579953, 'mean_word_length': 4.516447368421052, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 15, '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': '3002147', 'n_tokens_mistral': 820, 'n_tokens_neox': 741, 'n_words': 154}