Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hlissner/emacs-counsel-css
An ivy-mode backend for css selectors (scss/less too)
https://github.com/hlissner/emacs-counsel-css
Last synced: 19 days ago
JSON representation
An ivy-mode backend for css selectors (scss/less too)
- Host: GitHub
- URL: https://github.com/hlissner/emacs-counsel-css
- Owner: hlissner
- License: gpl-3.0
- Created: 2016-06-03T19:08:15.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-11-15T17:55:25.000Z (about 3 years ago)
- Last Synced: 2024-11-09T19:41:41.568Z (3 months ago)
- Language: Emacs Lisp
- Homepage:
- Size: 51.8 KB
- Stars: 21
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![MELPA](http://melpa.org/packages/counsel-css-badge.svg?style=flat-square)](http://melpa.org/#/counsel-css)
[![GPLv3](https://img.shields.io/badge/license-GPLv3-green.svg?style=flat-square)](./LICENSE)# 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](../screenshots/01.png)
## Installation
`M-x package-install RET counsel-css`
```emacs-lisp
(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.[helm-css-scss]: https://github.com/ShingoFukuyama/helm-css-scss