From 90cd83d7bd0e4fc7a3e5d8da0ad8bd8702491c59 Mon Sep 17 00:00:00 2001 From: David Morgan Date: Thu, 5 Aug 2021 12:48:22 +0100 Subject: Turn persp-mode back one --- emacs-prelude/personal/lisp/init-projectile.el | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'emacs-prelude/personal/lisp') diff --git a/emacs-prelude/personal/lisp/init-projectile.el b/emacs-prelude/personal/lisp/init-projectile.el index c2cada5..2ce79a0 100644 --- a/emacs-prelude/personal/lisp/init-projectile.el +++ b/emacs-prelude/personal/lisp/init-projectile.el @@ -1,15 +1,13 @@ -;(prelude-require-packages '(perspective persp-projectile ripgrep)) +(prelude-require-packages '(perspective persp-projectile ripgrep)) -;(use-package perspective -; :init (persp-mode) -; ;; We could rely on projectile for the modes string instead -; ;:custom (persp-show-modestring nil) -; :custom (persp-modestring-short t)) +(use-package perspective + :init (persp-mode) + :custom (persp-modestring-short t)) -;(use-package persp-projectile) +(use-package persp-projectile) (use-package projectile - ;:diminish + :diminish :config (def-projectile-commander-method ?B "consult-buffer" @@ -25,8 +23,6 @@ ((> (length (projectile-recentf-files)) 0) (projectile-recentf)) (t (projectile-find-file)))) :custom - ;; We could use this instead of relying on persp - (projectile-mode-line-function '(lambda () (format "[%s]" (projectile-project-name)))) (projectile-switch-project-action 'projectile-commander)) -- cgit 1.4.1-2-gfad0