/README.md
https://github.com/nlamirault/ripgrep.el · Markdown · 107 lines · 58 code · 49 blank · 0 comment · 0 complexity · d2003d3ea471566cfccae1086053651d MD5 · raw file
- # ripgrep.el
- [![License GPL 2][badge-license]][LICENSE]
- [](https://coveralls.io/r/nlamirault/ripgrep.el?branch=master)
- Master :
- * [](https://stable.melpa.org/#/ripgrep)
- * [](https://circleci.com/gh/nlamirault/ripgrep.el/tree/master)
- Develop:
- * [](https://melpa.org/#/ripgrep)
- * [](https://circleci.com/gh/nlamirault/ripgrep.el/tree/develop)
- ``ripgrep.el`` allows you to search using [ripgrep][] from inside Emacs.
- ## Installation
- The recommended way to install ``ripgrep`` is via [MELPA][]:
- M-x package-install ripgrep
- or [Cask][]:
- (depends-on "ripgrep")
- There is also [projectile-ripgrep](https://melpa.org/#/projectile-ripgrep) if you want to use it using [projectile](https://github.com/bbatsov/projectile)
- ## Usage
- <kbd>M-x ripgrep-regexp</kbd> or <kbd>M-x projectile-ripgrep</kbd>
- ## Development
- ### Cask
- ``ripgrep.el`` use [Cask][] for dependencies management. Install it and
- retrieve dependencies :
- $ curl -fsSkL https://raw.github.com/cask/cask/master/go | python
- $ export PATH="$HOME/.cask/bin:$PATH"
- $ cask
- ### Testing
- * Launch unit tests from shell
- $ make clean test
- * Using [overseer][] :
- Keybinding | Description
- ---------------------|------------------------------------------------------------
- <kbd>C-c , t</kbd> | launch unit tests from buffer
- <kbd>C-c , b</kbd> | launch unit tests
- <kbd>C-c , g</kbd> | launch unit tests with tag (find, regexp, ...)
- * Tips:
- If you want to launch a single unit test, add a specify tag :
- ```lisp
- (ert-deftest test-foobar ()
- :tags '(current)
- ```
- And launch it using : <kbd>C-c , g</kbd> and specify tag : *current*
- ## Support / Contribute
- See [here](CONTRIBUTING.md)
- ## Changelog
- A changelog is available [here](ChangeLog.md).
- ## License
- See [LICENSE](LICENSE).
- ## Contact
- Nicolas Lamirault <nicolas.lamirault@gmail.com>
- [ripgrep.el]: https://github.com/nlamirault/ripgrep.el
- [badge-license]: https://img.shields.io/badge/license-GPL_2-green.svg?style=flat
- [LICENSE]: https://github.com/nlamirault/ripgrep.el/blob/master/LICENSE
- [GNU Emacs]: https://www.gnu.org/software/emacs/
- [MELPA]: https://melpa.org/
- [Cask]: http://cask.github.io/
- [Issue tracker]: https://github.com/nlamirault/ripgrep.el/issues
- [overseer]: https://github.com/tonini/overseer.el
- [ripgrep]: https://github.com/BurntSushi/ripgrep