Skip to content

Commit

Permalink
Map for gorun
Browse files Browse the repository at this point in the history
  • Loading branch information
fsouza committed Jun 17, 2011
1 parent 30e7eb0 commit 4bc3562
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/go.vim
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
"Set noexpandtab to Go files (which sucks, IMHO)
autocmd FileType go setlocal noexpandtab

"Mapping gorun
autocmd FileType go map <Leader>g :!gorun %<CR>

0 comments on commit 4bc3562

Please sign in to comment.