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.
M-x package-install RET counsel-css
(require 'counsel-css)
This plugin doesn't bind keys, but it defines the command counsel-css
.
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.