commentary.vim: comment stuff out (by tpope)

Vim-commentary Alternatives

Similar projects and alternatives to vim-commentary

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better vim-commentary alternative or higher similarity.

vim-commentary reviews and mentions

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-01-11.
  • Neovim config from scratch (Part II)
    10 projects | | 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 | | 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 | | 2 Jan 2023
    " This file contains common and basic plugins too essential not to include " See " 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 \ 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 '' Plug '' " Better C/C++ syntax highlighting; Plug '' 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 | | 30 Dec 2022
    Commentary Tim pope's comment plugin
  • Commenting both erb and handlebars files
    3 projects | | 26 Dec 2022
    Unfortunately, fails on handlebars and fails on both (or I couldn't figure out 😅).
  • NeoVim Installation and Configuration on Win10/11
    14 projects | | 30 Nov 2022
    :set number :set autoindent :set tabstop=5 :set shiftwidth=4 :set smarttab :set softtabstop=4 :set mouse=a call plug#begin() Plug '' " Surrounding ysw) Plug '' " NerdTree Plug '' " For Commenting gcc & gc Plug '' " Status bar Plug '' " PSQL Pluging needs :SQLSetType pgsql.vim Plug '' " CSS Color Preview Plug '' " Retro Scheme Plug '' " Auto Completion Plug '' " Developer Icons Plug '' " Vim Terminal Plug '' " Tagbar for code navigation Plug '' " CTRL + N for multiple cursors Plug '' " For brackets autocompletion " Auto-completion For Javascript, typescript, html, jsx ...etc Plug 'neoclide/coc.nvim', {'do': 'yarn install --frozen-lockfile'} " this is for auto complete, prettier and tslinting let g:coc_global_extensions = ['coc-tslint-plugin', 'coc-tsserver', 'coc-css', 'coc-html', 'coc-json', 'coc-prettier'] " list of CoC extensions needed Plug 'jiangmiao/auto-pairs' "this will auto close ( [ { " these two plugins will add highlighting and indenting to JSX and TSX files. Plug 'yuezk/vim-js' Plug 'HerringtonDarkholme/yats.vim' Plug 'maxmellon/vim-jsx-pretty' set encoding=UTF-8 call plug#end() nnoremap :NERDTreeFocus nnoremap :NERDTree nnoremap :NERDTreeToggle nnoremap :call CocActionAsync('jumpDefinition') nmap :TagbarToggle :set completeopt-=preview " For No Previews :colorscheme jellybeans let g:NERDTreeDirArrowExpandable="+" let g:NERDTreeDirArrowCollapsible="~" " --- Just Some Notes --- " :PlugClean :PlugInstall :UpdateRemotePlugins " " :CocInstall coc-python " :CocInstall coc-clangd " :CocInstall coc-snippets " :CocCommand snippets.edit... FOR EACH FILE TYPE " air-line let g:airline_powerline_fonts = 1 if !exists('g:airline_symbols') let g:airline_symbols = {} endif " airline symbols let g:airline_left_sep = '' let g:airline_left_alt_sep = '' let g:airline_right_sep = '' let g:airline_right_alt_sep = '' let g:airline_symbols.branch = '' let g:airline_symbols.readonly = '' let g:airline_symbols.linenr = '' inoremap pumvisible() ? coc#_select_confirm() : ""
  • Any reason why <C-_> doesn't work after updating ?
    3 projects | | 22 Nov 2022
    I use to comment/uncomment code and want to map 'gcc' which comments a line to 'CTRL+/', up until now `map gcc` was working fine but I recently updated neovim from 0.6 to 0.8, I think I was using an old package from the AUR that has been replaced and thus didn't get regular updates when updating my system.
  • Ask HN: Is it still possible to live in a terminal?
    28 projects | | 14 Oct 2022
    - commentary for commenting (
  • Why is there no built-in code comment operator?
    3 projects | | 9 Oct 2022
    A bunch of Tim Pope's plugins are almost compulsory for effective usage of Vim. does the trick.
    3 projects | | 9 Oct 2022
    I can't speak for how OP would do it, but you can generalize single-line commands to multiple lines by visually selecting the lines and then hitting colon (which auto-fills the command to be :'<,'>) and then run :'<,'>norm I// to comment or :'<,'>norm ^xx. See: :h normal-range. Though personally, I just use vim-commentary like many others in this thread.
  • A note from our sponsor - SonarLint | 2 Feb 2023
    Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today. Learn more →


Basic vim-commentary repo stats
3 months ago
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives