My Neovim configuration for Golang development in 2024 (Using lazy.nvim and go.nvim)

Опубликовано: 20 Май 2024
на канале: Mario Carrion
8,116
214

Neovim is my de facto editor, and I recently migrated to lazy.nvim (from packer) and to go.nvim (from vim-go). In this video, I share my configuration with you and showcase different keymaps that keep me productive when writing software in Golang. This configuration includes options for compiling programs, running tests, code completion, and fuzzy searches for files, among other things.

■ Configuration (works with Neovim v0.9.5): https://github.com/MarioCarrion/video...
■ Blog post: https://mariocarrion.com/2024/05/20/n...
■ Keymaps: https://docs.google.com/document/d/1a...

== Plugins

■ Plugin manager: https://github.com/folke/lazy.nvim
■ Theme: https://github.com/catppuccin/nvim
■ Tabline: https://github.com/romgrk/barbar.nvim
■ Statusline: https://github.com/nvim-lualine/luali...
■ File Browser: https://github.com/nvim-telescope/tel...
■ Icons and pictograms: https://github.com/nvim-tree/nvim-web...
■ Fuzzy searching: https://github.com/nvim-telescope/tel...
■ Git signs integration: https://github.com/lewis6991/gitsigns...
■ Go integration: https://github.com/ray-x/go.nvim/tree...
■ Code analysis and navigation plugin: https://github.com/ray-x/navigator.lua/
■ LSP: https://github.com/neovim/nvim-lspconfig

== Recommended books

■ Mastering Vim Quickly: From WTF to OMG in no time: https://amzn.to/3rEjIlz
■ Modern Vim: Craft Your Development Environment with Vim 8 and Neovim: https://amzn.to/3HfVtFs
■ Practical Vim: Edit Text at the Speed of Thought: https://amzn.to/3HfVyce

== Connect with me!

■ https://x.com/MarioCarrion
■   / mariocarrion  
■   / mario.carrion  

00:00 Neovim configuration for Golang Development (2024)
00:08 Plugins file structure
02:00 Neovim sections (tab line, status line, and content)
03:06 lazy.nvim configuration
03:26 barbar.nvim (tab line) configuration
04:11 barbar.nvim (tab line) demo
05:53 lualine.nvim (status line)configuration
06:35 lualine.nvim (status line) demo
07:25 cmp (code completion) configuration
09:07 cmp (code completion) demo
10:17 gitsigns (git status indicator) demo
10:57 snippets demo
11:27 treesitter (language syntax trees) configuration
12:46 treesitter-context demo
13:38 treesitter-text-objects demo
14:23 telescope (fuzzy finding and file browser) configuration
15:36 telescope (fuzzy finding and file browser) demo
18:02 navigator.nvim (Golang code analysis and navigation) configuration
18:53 navigator.nvim (Golang code analysis and navigation) demo
22:18 Conclusion

=== Who am I?

Hello 👋🏼! My name is Mario, and I am a Hands-on Software Architect and Lead Backend Engineer with decades of professional experience building all kinds of software, such as on-premise Automation Systems, Linux Accessibility Desktop Applications, Cloud Governance and Compliance Systems, Media Streaming Services, and Highly Scalable Distributed Cloud-based Advertising Systems.

The content I produce includes what I've learned while working for small startups and large companies and the processes I've followed for successfully delivering complex enterprise systems from start to end.

Subscribe if you like Software Development, Software Architecture, and Systems Design, and of course, Go!

Keep it up. Don't give up!

Don't give up! #golang #neovim #programming

=== Follow us along on Instagram for our family adventures

■   / ruby_carrion  

=== Our affiliate links below

■ Technical/Non-technical Books found on Amazon: https://www.amazon.com/shop/rubycarri...
■ Amazon Storefront: https://www.amazon.com/shop/rubycarrion
■ Shop LTK page: https://www.shopltk.com/explore/RubyC...

DISCLAIMER: Some links shared in the description are affiliate links. As a member of these affiliate programs, I earn a small commission from your purchases at no additional cost. I appreciate your support! 💖


Смотрите видео My Neovim configuration for Golang development in 2024 (Using lazy.nvim and go.nvim) онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Mario Carrion 20 Май 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 8,11 раз и оно понравилось 21 людям.