<commit_before>What is this?
==================================
vim-ruby-xmpfilter provide utility function which make easily following

* insert/delete annotation mark `# =>`.
* virtual keymap for marking and executing xmpfilter against current bufffer.

xmpfilter is provided as part of [rcodetools](http://www.youtube.com/watch?v=rXeendPlUBA).

Configuration
==================================
vim-ruby-xmpfilter doesn't provide any default keymap.
Set following line in your `.vimrc`

    " Gvim
    nmap <buffer> <M-r> <Plug>(xmpfilter-run)
    xmap <buffer> <M-r> <Plug>(xmpfilter-run)
    imap <buffer> <M-r> <Plug>(xmpfilter-run)

    nmap <buffer> <M-m> <Plug>(xmpfilter-mark)
    xmap <buffer> <M-m> <Plug>(xmpfilter-mark)
    imap <buffer> <M-m> <Plug>(xmpfilter-mark)

    " Terminal
    nmap <buffer> <F5> <Plug>(xmpfilter-run)
    xmap <buffer> <F5> <Plug>(xmpfilter-run)
    imap <buffer> <F5> <Plug>(xmpfilter-run)

    nmap <buffer> <F4> <Plug>(xmpfilter-mark)
    xmap <buffer> <F4> <Plug>(xmpfilter-mark)
    imap <buffer> <F4> <Plug>(xmpfilter-mark)<commit_msg>Use autocmd for key mappings<commit_after>What is this?
==================================
vim-ruby-xmpfilter provide utility function which make easily following

* insert/delete annotation mark `# =>`.
* virtual keymap for marking and executing xmpfilter against current bufffer.

xmpfilter is provided as part of [rcodetools](http://www.youtube.com/watch?v=rXeendPlUBA).

Configuration
==================================
vim-ruby-xmpfilter doesn't provide any default keymap.
Set following line in your `.vimrc`

    " Gvim
    autocmd FileType ruby nmap <buffer> <M-r> <Plug>(xmpfilter-run)
    autocmd FileType ruby xmap <buffer> <M-r> <Plug>(xmpfilter-run)
    autocmd FileType ruby imap <buffer> <M-r> <Plug>(xmpfilter-run)

    autocmd FileType ruby nmap <buffer> <M-m> <Plug>(xmpfilter-mark)
    autocmd FileType ruby xmap <buffer> <M-m> <Plug>(xmpfilter-mark)
    autocmd FileType ruby imap <buffer> <M-m> <Plug>(xmpfilter-mark)

    " Terminal
    autocmd FileType ruby nmap <buffer> <F5> <Plug>(xmpfilter-run)
    autocmd FileType ruby xmap <buffer> <F5> <Plug>(xmpfilter-run)
    autocmd FileType ruby imap <buffer> <F5> <Plug>(xmpfilter-run)

    autocmd FileType ruby nmap <buffer> <F4> <Plug>(xmpfilter-mark)
    autocmd FileType ruby xmap <buffer> <F4> <Plug>(xmpfilter-mark)
    autocmd FileType ruby imap <buffer> <F4> <Plug>(xmpfilter-mark)
{'fraction_non_alphanumeric': 0.18025399426464564, 'fraction_numerical': 0.004916018025399427, 'mean_word_length': 4.613793103448276, 'pattern_counts': {'":': 0, '<': 75, '<?xml version=': 0, '>': 77, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '2385107', 'n_tokens_mistral': 920, 'n_tokens_neox': 842, 'n_words': 227}