{"id":26780650,"url":"https://github.com/kaihendry/goide","last_synced_at":"2025-07-11T21:33:36.892Z","repository":{"id":142044154,"uuid":"362744096","full_name":"kaihendry/goide","owner":"kaihendry","description":"Docker run to a sane vim-go setup","archived":false,"fork":false,"pushed_at":"2021-12-06T13:47:55.000Z","size":24,"stargazers_count":23,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-06T17:13:59.020Z","etag":null,"topics":["debugger","docker","editor","go","golang","gopls","minimal","vim"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/repository/docker/hendry/goide","language":"Vim script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kaihendry.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-04-29T08:25:16.000Z","updated_at":"2025-02-12T07:45:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"a3780e65-dc9f-4796-922d-6583911f4a65","html_url":"https://github.com/kaihendry/goide","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kaihendry/goide","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaihendry%2Fgoide","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaihendry%2Fgoide/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaihendry%2Fgoide/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaihendry%2Fgoide/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kaihendry","download_url":"https://codeload.github.com/kaihendry/goide/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaihendry%2Fgoide/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264902448,"owners_count":23681067,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["debugger","docker","editor","go","golang","gopls","minimal","vim"],"created_at":"2025-03-29T07:17:25.450Z","updated_at":"2025-07-11T21:33:36.884Z","avatar_url":"https://github.com/kaihendry.png","language":"Vim script","funding_links":[],"categories":[],"sub_categories":[],"readme":"vim with:\n\n* [vim-go](https://github.com/fatih/vim-go) for a Golang IDE\n* [dlv](https://github.com/go-delve/delve) for debugging\n* :GoTests for generating tests\n\n# Try it!\n\n\talias g='docker run -it --rm -v $(pwd):/src hendry/goide:latest $@'\n\nPrefer a shell instead?\n\n\tdocker run -it --rm --entrypoint=bash -v $(pwd):/src hendry/goide\n\n# Keyboard shortcuts\n\n\u003ckbd\u003e\\\\\u003c/kbd\u003e is called the \"leader\" key in vim.\n\n* \u003ckbd\u003e\\r\u003c/kbd\u003e Run current buffer\n* \u003ckbd\u003eF12\u003c/kbd\u003e Show definition, \u003ckbd\u003eC-o\u003c/kbd\u003e to switch back\n* \u003ckbd\u003eC-x\u003c/kbd\u003e \u003ckbd\u003eC-o\u003c/kbd\u003e Autocomplete with gopls\n* \u003ckbd\u003eC-g\u003c/kbd\u003e Show functions / declarations\n* \u003ckbd\u003e\\t\u003c/kbd\u003e Go test, \u003ckbd\u003e\\ga\u003c/kbd\u003e switch between test and code\n* \u003ckbd\u003eK\u003c/kbd\u003e Show documentation\n\n## Debug\n\n* \u003ckbd\u003eF5\u003c/kbd\u003e Start / Continue\n* \u003ckbd\u003eF8\u003c/kbd\u003e Stop\n* \u003ckbd\u003eF9\u003c/kbd\u003e Toggle breakpoint\n* \u003ckbd\u003eF10\u003c/kbd\u003e Debug next line\n* \u003ckbd\u003eF11\u003c/kbd\u003e Debug step into next function\n\n## Super handy commands\n\n* :GoFillStruct\n* :GoRename\n* :GoAddTags\n* :GoPlay\n\nDo read https://github.com/fatih/vim-go-tutorial\n\n# Compared to VS code\n\nFollowing https://www.youtube.com/watch?v=1MXIGYrMk80 with\nhttps://golang.org/doc/code, this project has a couple of advantages:\n\n* Docker image streamlines setup. No hoop jumping to install the entire environment assuming you have Docker and `make` installed\n* Efficient vim key bindings, use `vimtutor` to learn how to edit with it\n* Can be used easily upon remote environments, a **terminal environment** is _all you need_\n* `:Gotests` makes it easier to generate tests\n\n# Elsewhere\n\n* https://tpaschalis.github.io/vim-go-setup/\n* https://github.com/kaihendry/nvim\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaihendry%2Fgoide","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkaihendry%2Fgoide","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaihendry%2Fgoide/lists"}