vim-go
vim-commentary
Our great sponsors
vim-go | vim-commentary | |
---|---|---|
25 | 51 | |
15,841 | 5,687 | |
- | - | |
8.3 | 2.5 | |
7 days ago | 12 days ago | |
Vim Script | Vim Script | |
GNU General Public License v3.0 or later | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
vim-go
-
vim-go debugging
I found a github issue that seems related, but following the steps to start dlv on my own does not work either. https://github.com/fatih/vim-go/issues/3543
-
nvim when I open an empty file from go
There are a handful of really good go plugins that take care of this for you, such as https://github.com/ray-x/go.nvim or https://github.com/fatih/vim-go
-
What's the most commonly used IDE for golang development ?
With vim-go and snippets, neovim has almost the same functionality as GoLand
-
vim-go : anybody know how to install? (Ubuntu kinetic)
So does anyone know how to actually install it? The "instructions" (which I presume had to be dictated by their straight-jacketed author) from GitHub are, utterly useless, requiring the user to already have vim-go installed before beginning vim-go installation. You'll need vim-go to install vim-go, you see, because with a working vim-go installation can the user execute the special command to install vim-go's dependencies (because that's how software works ya know). And, if you have any trouble installing vim-go, it says, not to worry - further instructions have been provided along with your existing vim-go installation - just execute `:help go-install` (requires existing vim-go installation, of course) and from there, it's turtles all the way down! So as long as you have vim-go installed, installing vim-go is a breeze! Am I having an anheurysm right now? What the hell is this?
- Is there any way to autocomplete language functions? For example, show things like fmt.Printf or fmt.Println when writing fmt.Print and pressing the autocomplete key.
-
Help needed : "E492 unknown command :GoInstallBinaries"
git clone https://github.com/fatih/vim-go.git ~/.local/share/nvim/site/pack/plugins/start/vim-go
-
Which editor do you use for your Go coding?
with this wonderful plugin: https://github.com/fatih/vim-go
-
Sometimes broken scroll: not a few lines as usual but a page
Hi, usually Vim works as expected: scroll mouse event move a buffer content for a few lines. But sometimes something broke and every scroll event move a whole screen, like I pressed PageUp or PageDown. I thought that this is a defect with some plugin - because I can reproduce it only with vim-go and mouse=a - without other plugins and configs. I tried multiple terminals, and even boot Ubuntu live USB - still reproducible with my private company codebase, so I cannot share the code. This is my ticket for that plugin - the author said that this is might be something with my system configuration. Please help.
- What's your Golang IDE?
-
Anyone write Go full time using vim?
At first Ihad struggled with some common "IDE" tasks. But then I discovered vim-go and realized that it could do pretty much everything that I need and even more.
vim-commentary
- html css commenting things out
-
A very simple way to comment/uncomment lines and visual selections.
Also, tpope/vim-commentary
-
Plugin for comments
https://github.com/tpope/vim-commentary does what you expect!
-
My Solution to Block Comments
I've replaced most of my custom maps for commenting with tpope's commentary plugin. It's a great plugin. However, I wasn't happy with the lack of multi-line/block comment abilities so I created some maps to compliment the commentary plugin. Here are some maps that can be used with autocmd, FileType and for JavaScript comments.
-
Vim plugin for wrapping/unwrapping line comments
commentary.vim + :h gq?
-
Favorite vimrc configs for coding?
Having said this, there are some useful language independent extensions: jiangmiao/auto-pairs, tpope/vim-commentary, preservim/tagbar, junegunn/vim-peekaboo
-
Neovim config from scratch (Part II)
vim-commentary comment code comfortably with motions and visual selections alike.
-
Anybody have a keymap/config for folding and unfolding a block of code? Also how to comment lines of selected code?
With a plugin like vim-commentary or comment.nvim
-
Colored statusline doesn't load at start; I need to manually source $MYVIMRC
" This file contains common and basic plugins too essential not to include " See https://github.com/junegunn/vim-plug/wiki/tutorial " Auto install vim-plug (if not already installed) if empty(glob('~/.config/nvim/autoload/plug.vim')) silent !curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim autocmd VimEnter * PlugInstall endif " Run PlugInstall if there are missing plugins autocmd VimEnter * if len(filter(values(g:plugs), '!isdirectory(v:val.dir)')) \| PlugInstall --sync | source $MYVIMRC \| endif " enable Vim-Plug: call plug#begin('~/.config/nvim/plugged') " Install/update plugins Plug 'https://github.com/tpope/vim-commentary.git' Plug 'https://github.com/morhetz/gruvbox' " Better C/C++ syntax highlighting; Plug 'https://github.com/jackguo380/vim-lsp-cxx-highlight' call plug#end() "---------- Basic configs ---------------------------------------------------- autocmd vimenter * ++nested colorscheme gruvbox " Enable transparent background let g:gruvbox_transparent_bg = 1
-
Neovim config from scratch (Part I)
Commentary Tim pope's comment plugin
What are some alternatives?
coc-go - Go language server extension using gopls for coc.nvim.
nerdcommenter - Vim plugin for intensely nerdy commenting powers
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
nvim-comment - A comment toggler for Neovim, written in Lua
go.nvim - A feature-rich Go development plugin, leveraging gopls, treesitter AST, Dap, and various Go tools to enhance the dev experience.
tcomment_vim - An extensible & universal comment vim-plugin that also handles embedded filetypes
Go for Visual Studio Code
kommentary - Neovim commenting plugin, written in lua.
YouCompleteMe - A code-completion engine for Vim
gocode - An autocompletion daemon for the Go programming language
vim-lsp - async language server protocol plugin for vim and neovim