How to setup Vim for Go Development

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • neovim

    Vim-fork focused on extensibility and usability

  • You'll also need to use nvim instead of vim or have your vim updated to version 8+.

  • emacs-theme-gruvbox

    Gruvbox is a retro groove color scheme for Emacs. Port of the Vim version.

  • git clone https://github.com/morhetz/gruvbox ~/.vim/bundle

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • vim-go

    Go development plugin for Vim

  • In the past, I've relied on YouCompleteMe for auto-completion or vim-go's native integration with vim for auto-completion & ALE for linting/static code analysis.

  • vim-pathogen

    pathogen.vim: manage your runtimepath

  • git clone https://github.com/tpope/vim-pathogen ~/.vim/bundle

  • YouCompleteMe

    A code-completion engine for Vim

  • In the past, I've relied on YouCompleteMe for auto-completion or vim-go's native integration with vim for auto-completion & ALE for linting/static code analysis.

  • ale

    Check syntax in Vim/Neovim asynchronously and fix files, with Language Server Protocol (LSP) support

  • In the past, I've relied on YouCompleteMe for auto-completion or vim-go's native integration with vim for auto-completion & ALE for linting/static code analysis.

  • coc.nvim

    Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.

  • Nowadays, I prefer using coc.nvim and its plugins to do all that as I've found it to be more reliable than all of those tools.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • dotfiles

    The default configuration for vim & bash I use on my linux machines (by preslavmihaylov)

  • For all auxiliary coc settings, add these settings to your .vimrc.

  • tmux

    tmux source code

  • If you want to manage multiple terminal tabs in the same window, use tmux (See my how to guide):

  • default-setups

    A repository with all the initial tools I need upon (re)-installing a new OS

  • If you want to see my entire vim development environment, check out all my dotfiles and default-setups repos, which include my full setup, including external programs, the terminal, vim, tmux, colorschemes, etc.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts