Skip to content

nlamirault/socyl

Repository files navigation

Socyl

License GPL 2 Coverage Status

  • Master : MELPA Stable Circle CI
  • Develop: Melpa Status Circle CI

socyl allows you to search using multiple search tools: Supported backends are :

Installation

The recommended way to install socyl is via MELPA:

M-x package-install socyl

or Cask:

(depends-on "socyl")

Usage

Choose your backend :

(setq socyl-backend 'pt)

M-x socyl-search-regexp

to test backends in a IELM session :

ELISP> (let ((socyl-backend 'pt))
         (socyl-search-regexp "Emacs" "/tmp/"))

Development

Cask

socyl 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
C-c , t launch unit tests from buffer
C-c , b launch unit tests
C-c , g launch unit tests with tag (backend, ...)
  • Tips:

If you want to launch a single unit test, add a specify tag :

(ert-deftest test-foobar ()
  :tags '(current)

And launch it using : C-c , g and specify tag : current

Support / Contribute

See here

Changelog

A changelog is available here.

License

See LICENSE.

Contact

Nicolas Lamirault [email protected]

About

The emacs frontend for several search tools (ag, pt, sift, ripgrep, ...)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published