vimrc: replace ruby code with external scripts
filter_regexp: fix definition.find
filter_regexp: replace list_to_hash with Array#to_h