How to debug key mappings in vim

This is part of the Semicolon&Sons Code Diary - consisting of lessons learned on the job. You're in the vim category.

Last Updated: 2021-05-16

I wanted to switch from a regular JavaScript file to my JavaScript test in Vim using the command ':A' as provided by a plugin called alternate_js.

The issue was that this command :A also existed in rails.vim. This took me too long to figure out. What are some better ways in future: