Sharpen your Vim with snippets
Joe Lencioni

Thank you! This was a really helpful post for me to get my feet wet with more dynamic snippets.

I don’t know Python, but it was simple enough to extract a `module_name` function to re-use through out my JS snippets. It was inspired by your code (although I deal with mostly camelCase filenames):