auto-pairs VS coc.nvim

Compare auto-pairs vs coc.nvim and see what are their differences.

auto-pairs

Vim plugin, insert or delete brackets, parens, quotes in pair (by jiangmiao)

coc.nvim

Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers. (by neoclide)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
auto-pairs coc.nvim
20 320
4,066 23,945
- 0.6%
0.0 9.0
5 months ago about 16 hours ago
Vim Script TypeScript
- 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.

auto-pairs

Posts with mentions or reviews of auto-pairs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-20.
  • How do I implement this effect in Neovim?
    1 project | /r/neovim | 8 Aug 2023
    This plugin, jiangmiao/auto-pairs. Has a nice feature called Fly Mode where you can escape from any brace or quote with the ending pair no matter where you are while still being in INSERT mode. I'm trying to make this plugin work but having issues. Does anyone know how I can go about implementing this?
  • 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
  • Making AutoPairs work with '< >'
    1 project | /r/vim | 10 Dec 2022
    You can load a plugin inside of your vimrc using the :runtime command. I'm assuming you're using https://github.com/jiangmiao/auto-pairs -- the initialization code for the plugin should be in plugin/auto-pairs.vim, so you can put this in your vimrc:
  • Do vim users tend to enter insert mode and exit insert mode often in order to do simple movements using hjkl while writing? Or do you switch between arrow keys in insert mode and hjkl depending on what mode you're in?
    5 projects | /r/vim | 5 Dec 2022
  • oh, happy it ended
    8 projects | /r/neovim | 27 Sep 2022
    - packer instead of plug. it's written in lua and optimises - vim-autopairs instead of auto-pairs. it's written in lua + extremely important: it dosn't put pair of quotes if you're right before the word. it puts only one, so you don't have to manually delete second one -nvim-tree over nerdtree. it's written in lua, isn't this enough?)
  • Skip over bracket plugins
    3 projects | /r/vim | 8 Sep 2022
  • "Unknown functions" called after deleting a plugin
    1 project | /r/vim | 16 Aug 2022
    I've recently switched from Pathogen to VimPlug and started installing new plugins. One of them was auto-pairs, which I promptly uninstalled. However, Vim looks for functions from this plugin when I try to type, preventing me from writing anything. For example, when I try pressing space, Vim complains about E117: Unknown function: AutoPairsSpace.
  • Vim: A Beginner's Guide From A Beginner
    14 projects | dev.to | 27 May 2022
    auto-pairs - completes your parentheses, brackets and quotes
  • Is it unorthodox to write java purely in Vim/CLI and not use an IDE?
    8 projects | /r/javahelp | 4 May 2022
    Extra: for extra intellisense, you can use https://github.com/dense-analysis/ale (I don't - I like to stick to vanilla Vim as much as possible), https://github.com/ervandew/supertab (for completions using TAB instead of Ctrl-P), and https://github.com/jiangmiao/auto-pairs (automatic bracket insertion).
  • What is the best way to tab out?
    3 projects | /r/vim | 2 May 2022
    If you're in normal mode, as people have already said, it's A. If you are in insert mode, there are a lot of possibilities with roughly the same cost. Vim has a few insert-mode movement commands, e.g. j goes down a line, but so far as I know there isn't one that helps you. The vim-rsi plugin gives you readline-type commands in insert mode, so if you had that you could do to jump to the end of the line. Another possibility with plugins is to have something like auto-pairs installed in which case just typing ) would do it.

coc.nvim

Posts with mentions or reviews of coc.nvim. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-21.
  • I can't stand using VSCode so I wrote my own (it wasn't easy)
    10 projects | news.ycombinator.com | 21 Apr 2024
    As well as its own plugins Vim/NeoVim can use VSCode's LSPs, DAPs and extensions either directly or via plugins like CoC[1] and Mason[2].

    I would be surprised if emacs couldn't do the same.

    1. https://github.com/neoclide/coc.nvim

  • Existing non-lua plugins examples
    8 projects | /r/neovim | 6 Dec 2023
    The most famous TypeScript one probably is coc.nvim
  • ready to use neovim for web development (frontend) - beginners
    4 projects | /r/neovim | 5 Dec 2023
    It is flatly the wrong mindset to think of vim as an IDE. vim is a code editor: get in, make change, get out. Consider vim koans, which are a fun little read. You can throw coc.nvim at Neovim, along with a few other bits to give you a Good Enough setup, but vim isn't and will never be an IDE.
  • Using CoC inlay hints
    1 project | /r/vim | 11 Nov 2023
    I just did a fresh reinstall of CoC, on a newer version of Neovim. I'm now seeing something I hadn't seen before, which CoC calls "inlay hints". They look like this:
  • C# lsp configuration with neovim CoC
    4 projects | /r/neovim | 10 Nov 2023
    I'm currently on an old setup (using coc and polyglot) and nvim v0.6.1. I'll be updating to a more modern setup within next year, using the native lsp and building nvim more frequently. But that's not today.
  • Does anyone know some good altermatives for these Vim plugins on Emacs?
    3 projects | /r/emacs | 18 Jul 2023
    coc.nvim
  • LazyVim
    32 projects | news.ycombinator.com | 16 Jul 2023
    There are some plugins which have the best documentations I have ever seen, but you need to read it from the Vim.

    Example of coc.nvim: https://github.com/neoclide/coc.nvim/blob/master/doc/coc.txt

  • Resources on learning bash scripting
    5 projects | /r/bash | 4 Jul 2023
    Actually you can with coc.nvim & coc-sh. So long as shellcheck is also installed and in PATH, it'll integrate with coc/vim just fine.
  • how to set up coc.nvim extension on offline machine?
    2 projects | /r/vim | 7 Jun 2023
    When you install an extension it runs an npm install or yarn, iirc, which is going to be problematic for you being offline. I was going to say you could copy that ~/.config/coc folder directly to the other machine but yeah, Windows, no idea. You see here https://github.com/neoclide/coc.nvim/wiki/Using-coc-extensions
  • GCC autocompletion
    2 projects | /r/vim | 30 May 2023
    You can try https://github.com/neoclide/coc.nvim, the pre-requisite is to install nodeJS, then to install all the languages LSP. This works for me for Angular, Rust, JavaScript, Vimscript, etc

What are some alternatives?

When comparing auto-pairs and coc.nvim you can also consider the following projects:

lexima.vim - Auto close parentheses and repeat by dot dot dot...

YouCompleteMe - A code-completion engine for Vim

vim-rainbow - Rainbow brackets for Vim

vim-lsp - async language server protocol plugin for vim and neovim

tabout.nvim - tabout plugin for neovim

nvim-treesitter - Nvim Treesitter configurations and abstraction layer

vim-closer - Closes brackets

nvim-cmp - A completion plugin for neovim coded in Lua.

nvim-colorizer.lua - The fastest Neovim colorizer.

nvim-lspconfig - Quickstart configs for Nvim LSP

nvim-compe - Auto completion Lua plugin for nvim

LunarVim - 🌙 LunarVim is an IDE layer for Neovim. Completely free and community driven.