/vim-go-scratchpad

Simple local playground like scratchpad for Go

Primary LanguageVim scriptMIT LicenseMIT

vim-go-scratchpad

Vim plugin to create temporary local scratch playground like environment to experiment with Go code.

Install

vim-smithy uses the standard vim plugin path structure

Plug 'jasdel/vim-go-scratchpad'

Depends on vim-go for lazy reasons.

Commands

  • :GoScratchpad creates a temporary directory, sets up a Go module, and opens a buffer to a main.go file in that directory.

License

The MIT License - see LICENSE for more details