Add grep file aliases for JS and CSS files

This commit is contained in:
Tom Willemse 2018-02-07 11:09:12 -08:00
parent e835c42446
commit 1710d2f7ee

View file

@ -1616,6 +1616,20 @@ Computing Environment".
(add-hook 'org-mode-hook 'org-bullets-mode) (add-hook 'org-mode-hook 'org-bullets-mode)
#+END_SRC #+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 * Custom
Put the customize settings in a different file so that Emacs doesn't Put the customize settings in a different file so that Emacs doesn't