All Projects β†’ dajva β†’ Rg.el

dajva / Rg.el

Licence: gpl-3.0
Emacs search tool based on ripgrep

Projects that are alternatives of or similar to Rg.el

Modern Cpp Font Lock
C++ font-lock for Emacs
Stars: ✭ 159 (-42.6%)
Mutual labels:  emacs, melpa
Ugrep
πŸ”NEW ugrep v3.1: ultra fast grep with interactive query UI and fuzzy search: search file systems, source code, text, binary files, archives (cpio/tar/pax/zip), compressed files (gz/Z/bz2/lzma/xz/lz4), documents and more. A faster, user-friendly and compatible grep replacement.
Stars: ✭ 626 (+125.99%)
Mutual labels:  search, grep
Evil Multiedit
Multiple cursors for evil-mode, based on iedit
Stars: ✭ 200 (-27.8%)
Mutual labels:  emacs, melpa
Emacs Solaire Mode
If only certain buffers could be so grossly incandescent.
Stars: ✭ 129 (-53.43%)
Mutual labels:  emacs, melpa
Phpgrep
Syntax-aware grep for PHP code.
Stars: ✭ 185 (-33.21%)
Mutual labels:  search, grep
Linum Relative
display relative line number in the left margin in emacs
Stars: ✭ 152 (-45.13%)
Mutual labels:  emacs, melpa
Deft
Deft for Emacs
Stars: ✭ 521 (+88.09%)
Mutual labels:  search, emacs
Lsp Dart
lsp-mode ❀️ dart
Stars: ✭ 94 (-66.06%)
Mutual labels:  emacs, melpa
Swiper
Ivy - a generic completion frontend for Emacs, Swiper - isearch with an overview, and more. Oh, man!
Stars: ✭ 1,948 (+603.25%)
Mutual labels:  search, emacs
Memacs
What did I do on February 14th 2007? Visualize your (digital) life in Org-mode
Stars: ✭ 711 (+156.68%)
Mutual labels:  search, emacs
Auto Complete
Emacs auto-complete package
Stars: ✭ 1,622 (+485.56%)
Mutual labels:  emacs, melpa
Grab
experimental and very fast implementation of a grep
Stars: ✭ 230 (-16.97%)
Mutual labels:  search, grep
Web Mode
web template editing mode for emacs
Stars: ✭ 1,470 (+430.69%)
Mutual labels:  emacs, melpa
Explain Pause Mode
top, but for Emacs.
Stars: ✭ 158 (-42.96%)
Mutual labels:  emacs, melpa
Nimbus Theme
The best dark theme for Emacs
Stars: ✭ 102 (-63.18%)
Mutual labels:  emacs, melpa
Emacs Easy Hugo
Emacs major mode for managing hugo
Stars: ✭ 235 (-15.16%)
Mutual labels:  emacs, melpa
Dumb Jump
an Emacs "jump to definition" package for 50+ languages
Stars: ✭ 1,256 (+353.43%)
Mutual labels:  emacs, melpa
Exwm Edit
Edit mode for EXWM
Stars: ✭ 92 (-66.79%)
Mutual labels:  emacs, melpa
Ripgrep
ripgrep recursively searches directories for a regex pattern while respecting your gitignore
Stars: ✭ 28,564 (+10211.91%)
Mutual labels:  search, grep
Engine Mode
Minor mode for defining and querying search engines through Emacs.
Stars: ✭ 225 (-18.77%)
Mutual labels:  search, emacs

rg.el

License GPL 3 MELPA Stable MELPA Build Status Coverage Status

Use ripgrep in Emacs.

Ripgrep is a replacement for both grep like (search one file) and ag like (search many files) tools. It's fast and versatile and written in Rust. For some introduction and benchmarks, see ripgrep is faster than {grep, ag, git grep, ucg, pt, sift}.

screenshot

Installation

This package is available on MELPA Stable and MELPA. Install with M-x package-install RET rg from within Emacs.

It is also available in GNU Guix as emacs-rg. Install with guix package -i emacs-rg.

If you want to install manually just put rg.el and the rest of the elisp files somewhere in your load path and add require the package:

(require 'rg)

rg and friends are autoloaded symbols which means it's also possible to defer loading if you have autoloading setup.

Setup key bindings

This will setup the default key bindings in a non lazy way. If you care about startup performance see the next example.

(rg-enable-default-bindings)

See documentation for how to handle lazy loading.

Use old defaults

rg.el 2.0.0 will use new default settings to improve look and feel, more consistent key bindings etc. If you want to use the old defaults add this to your init.el:

(rg-use-old-defaults)

rg-menu

If you prefer to use a magit like interface as a complement to regular key maps, replace (rg-enable-default-bindings) with (rg-enable-menu). The menus are built with transient, which means that the menus can be modified in the same way as in magit.

Documentation

Info documentation is included in the package. Online documentation: https://rgel.readthedocs.io

Contribute

  • Install cask.
  • Install dependencies:
make deps
  • Run tests:
make test

License

See LICENSE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].