vim-commentary VS vim-go

Compare vim-commentary vs vim-go and see what are their differences.

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
vim-commentary vim-go
51 25
5,678 15,830
- -
2.5 8.3
8 days ago 4 days ago
Vim Script Vim Script
- GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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-commentary

Posts with mentions or reviews of vim-commentary. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-01.
  • html css commenting things out
    2 projects | /r/vim | 1 Jun 2023
  • Plugin for comments
    2 projects | /r/neovim | 12 Mar 2023
    https://github.com/tpope/vim-commentary does what you expect!
  • My Solution to Block Comments
    2 projects | /r/vim | 11 Mar 2023
    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
    2 projects | /r/vim | 2 Mar 2023
    commentary.vim + :h gq?
  • Favorite vimrc configs for coding?
    8 projects | /r/vim | 20 Feb 2023
    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)
    10 projects | dev.to | 11 Jan 2023
    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?
    2 projects | /r/neovim | 9 Jan 2023
    With a plugin like vim-commentary or comment.nvim
  • Colored statusline doesn't load at start; I need to manually source $MYVIMRC
    4 projects | /r/vim | 2 Jan 2023
    " 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)
    9 projects | dev.to | 30 Dec 2022
    Commentary Tim pope's comment plugin
  • Commenting both erb and handlebars files
    3 projects | /r/neovim | 26 Dec 2022
    Unfortunately, https://github.com/tpope/vim-commentary fails on handlebars and https://github.com/numToStr/Comment.nvim fails on both (or I couldn't figure out 😅).

vim-go

Posts with mentions or reviews of vim-go. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-29.

What are some alternatives?

When comparing vim-commentary and vim-go you can also consider the following projects:

nerdcommenter - Vim plugin for intensely nerdy commenting powers

coc-go - Go language server extension using gopls for coc.nvim.

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

go.nvim - A feature-rich Go development plugin, leveraging gopls, treesitter AST, Dap, and various Go tools to enhance the dev experience.

nvim-comment - A comment toggler for Neovim, written in Lua

Go for Visual Studio Code

YouCompleteMe - A code-completion engine for Vim

tcomment_vim - An extensible & universal comment vim-plugin that also handles embedded filetypes

kommentary - Neovim commenting plugin, written in lua.

gocode - An autocompletion daemon for the Go programming language

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

kotlin-vim - Kotlin plugin for Vim. Featuring: syntax highlighting, basic indentation, Syntastic support