summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2020-07-23 12:06:28 +0200
committerMartin Polden <mpolden@mpolden.no>2020-07-23 12:09:10 +0200
commitc49466112456472c097ff707caab1bfd0503018f (patch)
tree3a9c3c9cddbf1c516f538d1de72d4f26678f8007
parent886d09078c24a5d22242a230d283f84f9766225c (diff)
projectile: Remove
-rw-r--r--.projectile3
-rw-r--r--lisp/init-projectile.el46
2 files changed, 0 insertions, 49 deletions
diff --git a/.projectile b/.projectile
deleted file mode 100644
index f632b87..0000000
--- a/.projectile
+++ /dev/null
@@ -1,3 +0,0 @@
-# projectile does not consult .gitignore when files are opened manually:
-# https://github.com/bbatsov/projectile/issues/1075
-/elpa/*
diff --git a/lisp/init-projectile.el b/lisp/init-projectile.el
deleted file mode 100644
index 75f8e6a..0000000
--- a/lisp/init-projectile.el
+++ /dev/null
@@ -1,46 +0,0 @@
-;; projectile fails to load subr-x under some circumstances on 26.3
-;; https://github.com/bbatsov/projectile/issues/1382
-
-(when (< emacs-major-version 27)
- (use-package subr-x
- :ensure nil)) ;; package is bundled with emacs
-
-(use-package projectile
- :after subr-x
- :diminish projectile-mode
-
- :init
- ;; use git grep
- (setq projectile-use-git-grep t)
-
- ;; switching project opens the top-level directory
- (setq projectile-switch-project-action 'projectile-dired)
-
- ;; ignore remote projects
- (setq projectile-ignored-project-function 'file-remote-p)
-
- ;; enable caching
- (setq projectile-enable-caching t)
-
- ;; avoid reading command when compiling
- (setq compilation-read-command nil)
-
- ;; use ivy for completion
- (setq projectile-completion-system 'ivy)
-
- ;; set prefix
- :bind-keymap
- ("C-c p" . projectile-command-map)
-
- :bind (;; C-x f finds file in project
- ("C-x f" . projectile-find-file)
- ;; C-c g runs git grep in project
- ("C-c g" . projectile-grep)
- ;; C-c m compiles project
- ;; C-u C-c m will force reading command
- ("C-c m" . projectile-compile-project))
-
- :config
- (projectile-mode 1))
-
-(provide 'init-projectile)