My Emacs Manual: Go
目录

Install

bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer) # install gvm
gvm install go1.4 -B
gvm use go1.4
export GOROOT_BOOTSTRAP=$GOROOT
gvm install go1.7

Plugins

go get github.com/rogpeppe/godef
go install github.com/rogpeppe/godef
go get github.com/nsf/gocode
go install github.com/nsf/gocode
go get golang.org/x/tools/cmd/... # godoc

Commands

Key Function Description
C-c C-d godef-describe 代码释义
C-c C-j godef-jump 代码跳转
M-* 代码返回

发表评论