learn vim the hard way
When creating my screenshotting utility for Vim I noticed a good resource for Vim scripting that was comprehensive.
This also caught my carriage return error from my bash script, which was a huge help in finalizing the filepath for the screenshotting.