diff options
-rw-r--r-- | emacs/.emacs.d/main.el | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el index e1d6435..268f290 100644 --- a/emacs/.emacs.d/main.el +++ b/emacs/.emacs.d/main.el @@ -457,6 +457,24 @@ (interactive) (projectile-switch-project-by-name (car (split-string (shell-command-to-string "ghq list --full-path dotfiles"))))) +;;;;; Grep + +(use-package grep + :config (progn + (dolist (v '("node_modules" + "bower_components" + ".sass_cache" + ".cache" + ".npm")) + (add-to-list 'grep-find-ignored-directories v)) + (dolist (v '("*.min.js" + "*.bundle.js" + "*.min.css" + "*.lock" + "package-lock.json" + "*.log")) + (add-to-list 'grep-find-ignored-files v)))) + ;;;;; The Silver Searcher (use-package ag @@ -1078,6 +1096,17 @@ (use-package company-web :after company) +;;;;; EACL + +;; Auto-complete lines by grepping the project. + +(use-package eacl + :bind (("C-c <tab>" . eacl-complete-line) + ("C-c C-;" . eacl-complete-statement) + ("C-c C-\]" . eacl-complete-snippet) + ("C-c C-/" . eacl-complete-tag))) + + ;;;; Dates & Times ;;;;; Calendar |