Add grep file aliases for JS and CSS files
This commit is contained in:
parent
e835c42446
commit
1710d2f7ee
1 changed files with 14 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue