Embed Notice
HTML Code
Corresponding Notice
- Embed this notice@m0xee @nyanide Actually, this is fun, I keep this in the scratch space in acme:
:mycomputer: go doc `{cat /dev/snarf}
You could do the same on Linux (though you'd have to replace the cat with `xclip -o` or something), but if I were still using vim, I'd probably overload the man page key (`K`, which is really useful when writing shell scripts or C but not so much in other languages) to have it make a scratch buffer and fill it by calling `go doc` on the identifier under the cursor.