My vim automatically compiles Go test when I type "w". I moved the gitignore to my global settings. Sorry for the confusion