diff --git a/modules/go.vim b/modules/go.vim index 409b91e61..adb295acf 100644 --- a/modules/go.vim +++ b/modules/go.vim @@ -1,2 +1,5 @@ "Set noexpandtab to Go files (which sucks, IMHO) autocmd FileType go setlocal noexpandtab + +"Mapping gorun +autocmd FileType go map g :!gorun %