/emacs-counsel-css

An ivy-mode backend for css selectors (scss/less too)

Primary LanguageEmacs LispGNU General Public License v3.0GPL-3.0

MELPA GPLv3

counsel-css

counsel-css is an ivy-mode backend for css selectors (works for SCSS, LESS and Stylus too). It also has a hook to integrate its parser into Imenu.

This is an alternative to helm-css-scss. The parser was lifted borrowed from helm-css-scss, so much of the credit is his.

screenshot

Installation

M-x package-install RET counsel-css

(require 'counsel-css)

Usage

This plugin doesn't bind keys, but it defines the command counsel-css.

IMenu integration

To activate imenu integration:

(add-hook 'css-mode-hook #'counsel-css-imenu-setup)

NOTE: If you only want imenu support, this plugin doesn't pull in its dependencies until you use the counsel-css command.