News for hackers. Stuff that matters.
Re:Vim setup for Go by akavel on Thursday September 24, 2015 @02:05PM (#10273360)
I suggest you try https://github.com/garyburd/go-explorer too! (From creator of godoc.org.) In short words, it's godoc with hyperlinks (in your vim). I use it both for doc (so I don't have to switch to browser), and for project-wide navigation.

    :GeDoc net/http         --> opens a "gedoc" split
    :GeDoc fmt Printf       --> + jump to specific identifier
                                (note: full TAB-completion)
    :GeDoc \html_template   --> + resolve import alias like:
                                import html_template "html/template"
    zM                --> fold all
    zo                --> unfold current
    zc                --> fold current
    Ctrl-]            --> "follow link under cursor"
    Ctrl-A            --> show all! (i.e. unexported too)

There are no comments on this comment yet.