If you want to develop Go in vim, I would strongly suggest to just install and use the vim-go package/plugin. It will help you with a lot of stuff, but most can be turned of if you don’t want of need it.
Sander On 10 Oct 2016, at 08:15: 49, 김용빈 <kyb...@gmail.com> wrote: Hello, How could I achieve auto go fmt on save in vim? (with 2~3 lines of code) I don't want install entire plug-in like vim-go. Or is it better to do? Thank you. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com <mailto:golang-nuts+unsubscr...@googlegroups.com>. For more options, visit https://groups.google.com/d/optout <https://groups.google.com/d/optout>. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.