diff options
author | David Morgan <djm_uk@protonmail.com> | 2021-08-05 12:48:22 +0100 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2021-08-05 12:48:22 +0100 |
commit | 90cd83d7bd0e4fc7a3e5d8da0ad8bd8702491c59 (patch) | |
tree | 7a078e25ecfc342c1e559e650378863a38a77c2e /emacs-prelude/personal/lisp | |
parent | fd87e0ed4c52bed31798c0f83f8f121d2659f869 (diff) | |
download | dotfiles-90cd83d7bd0e4fc7a3e5d8da0ad8bd8702491c59.tar.gz |
Turn persp-mode back one
Diffstat (limited to 'emacs-prelude/personal/lisp')
-rw-r--r-- | emacs-prelude/personal/lisp/init-projectile.el | 16 |
1 files changed, 6 insertions, 10 deletions
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)) |