vim-commentary VS vim-css-color

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

vim-css-color

Preview colours in source code while editing (by ap)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
vim-commentary vim-css-color
51 16
5,678 1,763
- -
2.5 3.4
11 days ago 10 days ago
Vim Script Vim Script
- MIT License
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.

vim-css-color

Posts with mentions or reviews of vim-css-color. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-13.
  • Need help displaying colors in C files. I have the vim-css-color plugin but that doesn't seem to work in C
    7 projects | /r/vim | 13 Apr 2023
    Check this out: https://github.com/ap/vim-css-color/issues/85
  • NeoVim Installation and Configuration on Win10/11
    14 projects | dev.to | 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 'http://github.com/tpope/vim-surround' " Surrounding ysw) Plug 'https://github.com/preservim/nerdtree' " NerdTree Plug 'https://github.com/tpope/vim-commentary' " For Commenting gcc & gc Plug 'https://github.com/vim-airline/vim-airline' " Status bar Plug 'https://github.com/lifepillar/pgsql.vim' " PSQL Pluging needs :SQLSetType pgsql.vim Plug 'https://github.com/ap/vim-css-color' " CSS Color Preview Plug 'https://github.com/rafi/awesome-vim-colorschemes' " Retro Scheme Plug 'https://github.com/neoclide/coc.nvim' " Auto Completion Plug 'https://github.com/ryanoasis/vim-devicons' " Developer Icons Plug 'https://github.com/tc50cal/vim-terminal' " Vim Terminal Plug 'https://github.com/preservim/tagbar' " Tagbar for code navigation Plug 'https://github.com/terryma/vim-multiple-cursors' " CTRL + N for multiple cursors Plug 'https://github.com/rstacruz/vim-closer' " 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() : ""
  • My Neovim Configuration
    11 projects | dev.to | 1 Sep 2022
    call plug#begin('~/.config/nvim/plugged') Plug 'http://github.com/tpope/vim-surround' " Surrounding ysw) Plug 'https://github.com/preservim/nerdtree' " NerdTree Plug 'https://github.com/tpope/vim-commentary' " For Commenting gcc & gc Plug 'https://github.com/vim-airline/vim-airline' " Status bar Plug 'https://github.com/ap/vim-css-color' " CSS Color Preview Plug 'https://github.com/rafi/awesome-vim-colorschemes' " Retro Scheme Plug 'https://github.com/ryanoasis/vim-devicons' " Developer Icons Plug 'https://github.com/tc50cal/vim-terminal' " Vim Terminal Plug 'https://github.com/preservim/tagbar' " Tagbar for code navigation Plug 'https://github.com/terryma/vim-multiple-cursors' " CTRL + N for multiple cursors call plug#end() nnoremap :NERDTreeFocus nnoremap :NERDTree nnoremap :NERDTreeToggle nmap :TagbarToggle let g:NERDTreeDirArrowExpandable="+" let g:NERDTreeDirArrowCollapsible="~"
  • How do I work with Rust Workspaces in Neovim?
    8 projects | /r/neovim | 24 Aug 2022
    call plug#begin() Plug 'https://github.com/preservim/nerdtree' " NerdTree Plug 'https://github.com/tpope/vim-commentary' " For Commenting gcc & gc Plug 'https://github.com/vim-airline/vim-airline' " Status bar Plug 'https://github.com/ap/vim-css-color' " CSS Color Preview Plug 'https://github.com/rafi/awesome-vim-colorschemes' " Retro Scheme Plug 'https://github.com/tc50cal/vim-terminal' " Vim Terminal Plug 'https://github.com/terryma/vim-multiple-cursors' " CTRL + N for multiple cursors Plug 'https://github.com/preservim/tagbar' " Tagbar for code navigation Plug 'neoclide/coc.nvim', {'branch': 'release'} Plug 'nvim-lua/plenary.nvim' Plug 'nvim-telescope/telescope.nvim', { 'tag': '0.1.0' } call plug#end()
  • Vim-CSS-color: Preview colours in source code while editing
    1 project | news.ycombinator.com | 2 Aug 2022
  • NeoVim Setup for PHP and NodeJS Development
    11 projects | dev.to | 27 Jul 2022
    set encoding=UTF-8 set number syntax on " set tab to 4 spaces filetype plugin indent on set tabstop=4 set shiftwidth=4 set expandtab " Tab / Shift Tab to navigate between tabs nnoremap :tabnext nnoremap :tabprevious " CoC settings set nobackup set nowritebackup set cmdheight=2 set updatetime=300 set shortmess+=c if has("nvim-0.5.0") || has("patch-8.1.1564") set signcolumn=number else set signcolumn=yes endif inoremap \ pumvisible() ? "\" : \ CheckBackspace() ? "\" : \ coc#refresh() inoremap pumvisible() ? "\" : "\" function! CheckBackspace() abort let col = col('.') - 1 return !col || getline('.')[col - 1] =~# '\s' endfunction if has('nvim') inoremap coc#refresh() else inoremap coc#refresh() endif inoremap pumvisible() ? coc#_select_confirm() \: "\u\\=coc#on_enter()\" nmap [g (coc-diagnostic-prev) nmap ]g (coc-diagnostic-next) nmap gd (coc-definition) nmap gy (coc-type-definition) nmap gi (coc-implementation) nmap gr (coc-references) nnoremap K :call ShowDocumentation() function! ShowDocumentation() if CocAction('hasProvider', 'hover') call CocActionAsync('doHover') else call feedkeys('K', 'in') endif endfunction autocmd CursorHold * silent call CocActionAsync('highlight') " VimPlug plugin manager call plug#begin() Plug 'https://github.com/vim-airline/vim-airline' Plug 'https://github.com/tpope/vim-commentary' Plug 'https://github.com/ap/vim-css-color' Plug 'https://github.com/rafi/awesome-vim-colorschemes' Plug 'https://github.com/neoclide/coc.nvim' Plug 'othree/html5.vim' Plug 'pangloss/vim-javascript' Plug 'evanleck/vim-svelte', {'branch': 'main'} call plug#end() " set the colorsheme " list: https://github.com/rafi/awesome-vim-colorschemes colorscheme minimalist
  • Help with Vim Plugin (beginner)
    2 projects | /r/archcraft | 13 Jun 2022
    Installed the plugin by running git clone https://github.com/ap/vim-css-color in this folder
  • Any idea which extension/plugin this is that shows a preview of the colors written in their hex value?
    6 projects | /r/vim | 8 Apr 2022
    https://github.com/ap/vim-css-color is what I used before switching. This works on vim.
  • vim-devicons won't display on Windows Terminal with WSL2.
    11 projects | /r/neovim | 4 Jan 2022
    :set number :set relativenumber :set autoindent :set tabstop=2 :set shiftwidth=2 :set smarttab :set softtabstop=2 :set mouse=a :set guifont=Fira\ Code\ 11 call plug#begin() Plug 'http://github.com/tpope/vim-surround' " Surrounding ysw) Plug 'https://github.com/preservim/nerdtree' " NerdTree Plug 'https://github.com/tpope/vim-commentary' " For Commenting gcc & gc Plug 'https://github.com/vim-airline/vim-airline' " Status bar Plug 'https://github.com/ap/vim-css-color' " CSS Color Preview Plug 'https://github.com/rafi/awesome-vim-colorschemes' " Retro Scheme Plug 'https://github.com/neoclide/coc.nvim' " Auto Completion Plug 'https://github.com/ryanoasis/vim-devicons' " Developer Icons Plug 'https://github.com/tc50cal/vim-terminal' " Vim Terminal Plug 'https://github.com/preservim/tagbar' " Tagbar for code navigation Plug 'https://github.com/terryma/vim-multiple-cursors' " CTRL + N for multiple cursors Plug 'https://github.com/rstacruz/vim-closer' " Auto braces & bracket closing set encoding=UTF-8 call plug#end() nnoremap :NERDTreeFocus nnoremap :NERDTree nnoremap :NERDTreeToggle nmap :TagbarToggle :set completeopt-=preview " For No Previews set termguicolors :colorscheme onehalfdark " Setting Neovim color theme let g:NERDTreeDirArrowExpandable="+" let g:NERDTreeDirArrowCollapsible="~" " air-line let g:airline_powerline_fonts = 1 let g:airline_theme='onehalfdark'
  • Neovim ultimate Web Dev Setup with vim plug on windows
    4 projects | dev.to | 13 Dec 2021
    set number set relativenumber set clipboard=unnamed set autoindent set tabstop=4 set shiftwidth=4 set smarttab set softtabstop=4 set mouse=a :filetype indent on :filetype plugin on set ruler call plug#begin('C:/Users/ABIPRAVI/AppData/Local/nvim/plugged') " below are some vim plugins for demonstration purpose. " add the plugin you want to use here. Plug 'Chiel92/vim-autoformat' Plug 'davidhalter/jedi-vim' Plug 'raimon49/requirements.txt.vim', {'for': 'requirements'} Plug 'hail2u/vim-css3-syntax' Plug 'gko/vim-coloresque' Plug 'vim-scripts/pylint.vim' Plug 'tpope/vim-haml' Plug 'mattn/emmet-vim' Plug 'dracula/vim', { 'as': 'dracula' } Plug 'joshdick/onedark.vim' Plug 'iCyMind/NeoSolarized' " Use release branch (recommend) Plug 'neoclide/coc.nvim', {'branch': 'release'} Plug 'neoclide/coc.nvim' Plug 'junegunn/vim-easy-align' Plug 'https://github.com/junegunn/vim-github-dashboard.git' Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } Plug 'tpope/vim-fireplace', { 'for': 'clojure' } Plug 'rdnetto/YCM-Generator', { 'branch': 'stable' } Plug 'fatih/vim-go', { 'tag': '*' } Plug 'nsf/gocode', { 'tag': 'v.20150303', 'rtp': 'vim' } Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } Plug 'vim-airline/vim-airline' Plug 'vim-airline/vim-airline-themes' Plug 'github/copilot.vim' Plug 'https://github.com/rafi/awesome-vim-colorschemes' Plug 'https://github.com/ap/vim-css-color' Plug 'https://github.com/ryanoasis/vim-devicons' Plug 'pangloss/vim-javascript' Plug 'sbdchd/neoformat' Plug 'leafgarland/typescript-vim' Plug 'peitalin/vim-jsx-typescript' Plug 'styled-components/vim-styled-components', { 'branch': 'main' } Plug 'tpope/vim-commentary' Plug 'jparise/vim-graphql' Plug 'kien/ctrlp.vim' Plug 'jiangmiao/auto-pairs' Plug 'ryanoasis/vim-devicons' call plug#end() " Use for trigger snippet expand. imap (coc-snippets-expand) " " " Use for select text for visual placeholder of snippet. vmap (coc-snippets-select) " " " Use for jump to next placeholder, it's default of coc.nvim let g:coc_snippet_next = '' " " " Use for jump to previous placeholder, it's default of coc.nvim let g:coc_snippet_prev = '' " " " Use for both expand and jump (make expand higher priority.) imap (coc-snippets-expand-jump) " " " Use x for convert visual selected code to snippet xmap x (coc-convert-snippet) vmap f (coc-format-selected) nmap f (coc-format-selected) command! -nargs=0 Prettier :CocCommand prettier.formatFile let g:airline#extensions#tabline#enabled = 1 let g:airline#extensions#tabline#left_sep = ' ' let g:airline#extensions#tabline#left_alt_sep = '|' nnoremap :NERDTreeFocus nnoremap :Prettier nnoremap :PlugInstall nnoremap :NERDTree nnoremap :NERDTreeToggle nnoremap :w :colorscheme dracula

What are some alternatives?

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

nerdcommenter - Vim plugin for intensely nerdy commenting powers

nvim-colorizer.lua - The fastest Neovim colorizer.

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

Colorizer - color hex codes and color names

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

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

kommentary - Neovim commenting plugin, written in lua.

coc-css - Css language server extension for coc.nvim

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

vimspector - vimspector - A multi-language debugging system for Vim

vim-hexokinase - hexokinase.vim - (Neo)Vim plugin for asynchronously displaying the colours in the file (#rrggbb, #rgb, rgb(a)? functions, hsl(a)? functions, web colours, custom patterns)