Post

Go Neovim Configuration Information

NvChad based Neovim config with Go formatting, debugging, and diagnostics. Dreams of Code video tutorial

  • Install and initialize: lazyman -L Go
  • Configuration category: Language
  • Base configuration: NvChad
  • Plugin manager: Lazy
  • Installation location: ~/.config/nvim-Go

Git repository

https://github.com/dreamsofcode-io/neovim-go-config

Website

https://nvchad.com

YouTube channel

https://www.youtube.com/@dreamsofcode

Lazy managed plugins

Go Keymaps

Normal mode keymaps

Description 
Left hand side"
Right hand side 
DescriptionNvim builtin
Left hand side&
Right hand side:&&<CR>
Description 
Left hand side'
Right hand side 
DescriptionNvim builtin
Left hand sideY
Right hand sidey$
Description 
Left hand side`
Right hand side 
Description 
Left hand sidec
Right hand side 
Description 
Left hand sideg
Right hand side 
DescriptionComment toggle current line
Left hand sidegcc
Right hand side 
DescriptionComment toggle blockwise
Left hand sidegb
Right hand side 
DescriptionComment toggle linewise
Left hand sidegc
Right hand side 
DescriptionComment toggle current block
Left hand sidegbc
Right hand side 
Description 
Left hand sidev
Right hand side 
Description 
Left hand side<C-R>
Right hand side 
DescriptionNvim builtin
Left hand side<C-L>
Right hand side<Cmd>nohlsearch|diffupdate|normal! <C-L><CR>

Visual mode keymaps

DescriptionNvim builtin
Left hand side#
Right hand sidey?\V<C-R>"<CR>
DescriptionNvim builtin
Left hand side*
Right hand sidey/\V<C-R>"<CR>
DescriptionComment toggle linewise (visual)
Left hand sidegc
Right hand side 
DescriptionComment toggle blockwise (visual)
Left hand sidegb
Right hand side 

Operator mode keymaps

DescriptionComment toggle blockwise
Left hand sidegb
Right hand side 
DescriptionComment toggle linewise
Left hand sidegc
Right hand side