<commit_before><commit_msg>Restore cursor position in vim when editing a file<commit_after>" plugin/restore-position.vim

" Jump to last known position
" @see help docs on last-position-jump

augroup vimrc_rlp

  au!

  au BufReadPost *
    \ if (&ft != 'gitcommit') && line("'\"") > 1 && line("'\"") <= line("$") |
    \   execute "normal! g`\"" |
    \ endif

augroup END
{'fraction_non_alphanumeric': 0.16353887399463807, 'fraction_numerical': 0.002680965147453083, 'mean_word_length': 3.4, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '4017718', 'n_tokens_mistral': 136, 'n_tokens_neox': 126, 'n_words': 38}