practicalli / spacemacs

Content for the book - Clojure Development with Spacemacs
https://practical.li/spacemacs
Creative Commons Attribution Share Alike 4.0 International
110 stars 33 forks source link

smartsearch `SPC /` in @spacemacs, right? #160

Closed practicalli-johnny closed 2 years ago

practicalli-johnny commented 4 years ago

Using ripgrep, rg, or silver searcher, ag, arguments can be passed to a helm search

SPC / -g!*.el -A4 foo

this will search for "foo" in all files except *.el and show 4 lines after the match

check man page for your search tool e.g. SPC h m rg - you can use some of the arguments in SPC /

Showing extra lines does not work in helm-swoop