diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index a5d2bcc..95e2669 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -1616,6 +1616,20 @@ Computing Environment". (add-hook 'org-mode-hook 'org-bullets-mode) #+END_SRC +** Grep + + Make searching for "js" include ~*.js~, ~*.jsx~ and ~*.json~ files. + + #+BEGIN_SRC emacs-lisp + (add-to-list 'grep-files-aliases '("js" . "*.js *.jsx *.json")) + #+END_SRC + + Make searching for "css" include ~*.css~, ~*.less~, ~*.sass~ and + ~*.scss~ files. + + #+BEGIN_SRC emacs-lisp + (add-to-list 'grep-files-aliases '("css" . "*.css *.less *.sass *.scss")) + #+END_SRC * Custom Put the customize settings in a different file so that Emacs doesn't