vim: add pytest mappings and remove unused function