Sharpen your Vim with snippets
Joe Lencioni
1745

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): https://gist.github.com/smt/0c1dc82a4dfa9736003b