(require 'config-package) (use-package projectile :diminish projectile-mode :bind-keymap ("C-c p" . projectile-command-map) :init (add-hook 'after-init-hook #'projectile-mode) :config (setq projectile-switch-project-action 'projectile-dired projectile-enable-caching t projectile-completion-system 'ivy projectile-known-projects-file (expand-file-name "var/projectile-bookmarks.eld" user-emacs-directory) projectile-cache-file (expand-file-name "var/projectile.cache" user-emacs-directory)) (add-to-list 'projectile-globally-ignored-files ".DS_Store")) (use-package ag :commands (counsel-ag ag) :bind (:map ag-mode-map ("p" . compilation-previous-error) ("n" . compilation-next-error) ("N" . compilation-next-file) ("P" . compilation-previous-file)) :config (setq ag-highlight-search t ag-reuse-buffers t ag-reuse-window t)) (provide 'module-project)