vim-commentary
coc.nvim
Our great sponsors
vim-commentary | coc.nvim | |
---|---|---|
51 | 319 | |
5,633 | 23,845 | |
- | 0.7% | |
3.5 | 9.0 | |
3 months ago | 6 days ago | |
Vim Script | TypeScript | |
- | 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-commentary
- html css commenting things out
-
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
-
Commenting both erb and handlebars files
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 ๐ ).
coc.nvim
-
Existing non-lua plugins examples
For Typescript in particular, he most notable examples are probably neoclide/coc.nvim and vim-denops/denops.vim
The most famous TypeScript one probably is coc.nvim
-
ready to use neovim for web development (frontend) - beginners
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.
-
C# lsp configuration with neovim CoC
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?
coc.nvim
-
LazyVim
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
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?
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
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
-
NeoVim & Rust
But for ยซ intellisense ยป and completion you can use this https://github.com/neoclide/coc.nvim it works with rust-analyser so it executes a cargo check and fmt every time you save the file as well.
What are some alternatives?
YouCompleteMe - A code-completion engine for Vim
vim-lsp - async language server protocol plugin for vim and neovim
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
nvim-cmp - A completion plugin for neovim coded in Lua.
nerdcommenter - Vim plugin for intensely nerdy commenting powers
nvim-lspconfig - Quickstart configs for Nvim LSP
LunarVim - ๐ LunarVim is an IDE layer for Neovim. Completely free and community driven.
ale - Check syntax in Vim/Neovim asynchronously and fix files, with Language Server Protocol (LSP) support
vim-polyglot - A solid language pack for Vim.
deoplete.nvim - :stars: Dark powered asynchronous completion framework for neovim/Vim8
cmp-nvim-lsp - nvim-cmp source for neovim builtin LSP client
ansible-language-server - ๐ง Ansible Language Server codebase is now included in vscode-ansible repository