This topic created in 5086 days ago, the information mentioned may be changed or developed.
autocmd filetype go setlocal noexpandtab
autocmd filetype go map <F5> :!go run %<CR>
autocmd filetype go imap <F5> <Esc><F9>
autocmd filetype go set formatprg=gofmt
求将命令部分合并的办法
5 replies 1970-01-01 08:00:00 +08:00  | | 3 qiukun May 27, 2012 @ cfddream 此外 doc 里面 也是帖子中的 style,大概是考虑到有块操作吧,我过早优化了 |
 | | 5 reaky May 27, 2012 不是有ftplugin吗?在里面建个go.vim, 然后都写进去就好了 |