From 45ab0967ab0b46ce5d28a3a70d9fb556d105e2e2 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 19 Feb 2019 00:43:08 -0800 Subject: [PATCH] Move Projectile config to emacs-config --- emacs/.emacs.d/init.el | 32 -------------------------------- 1 file changed, 32 deletions(-) diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index e276346..b9e292d 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -53,7 +53,6 @@ (require 'diminish) (require 'ivy) (require 'ivy-hydra) -(require 'projectile) (require 'shackle) ;;;; Settings @@ -78,12 +77,6 @@ (setq forge-database-file (concat user-emacs-directory "data/forge-database.sqlite"))) -(with-eval-after-load 'projectile - (setq projectile-cache-file - (concat user-emacs-directory "data/projectile.cache") - projectile-known-projects-file - (concat user-emacs-directory "data/projectile-bookmarks.eld"))) - (with-eval-after-load 'tramp-cache (setq tramp-persistency-file-name (concat user-emacs-directory "data/tramp"))) @@ -184,31 +177,6 @@ ORIG-FUN is the function being wrapped, ARGS are the arguments specified" (add-function :around (symbol-function 'diff-hl-changes-buffer) #'oni:with-diff-hl-p4-args)) -(setq projectile-known-projects-file - (concat user-emacs-directory "data/projectile-bookmarks.eld")) - -(with-eval-after-load 'projectile - (setq projectile-mode-line - '(:eval - (if (file-remote-p default-directory) - " P" - (let ((name (projectile-project-name))) - (if (string= "-" name) - "" - (format " P[%s]" name))))))) - -(setq projectile-cache-file - (concat user-emacs-directory "data/projectile.cache")) - -(projectile-mode) - -(define-key projectile-mode-map (kbd "C-c p") 'projectile-command-map) - -(setq projectile-completion-system 'ivy) - -(add-to-list 'projectile-project-root-files "yarn.lock") -(add-to-list 'projectile-project-root-files "fabfile.py") - ;; (with-eval-after-load 'server ;; (diminish 'server-buffer-clients ;; (propertize (concat " " (char-to-string #xf233))