summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
authorAlan Pearce2020-01-22 16:51:48 +0100
committerAlan Pearce2020-01-22 16:51:48 +0100
commit13ff1bb6fea6de1f09b858285d3bdca84df09078 (patch)
tree39c37bbfa15423a8fa44e68456ba0cbc60a4a3b9 /user/emacs
parent4f0337d35c17127429351ef0770df64ec709515f (diff)
downloadnixfiles-13ff1bb6fea6de1f09b858285d3bdca84df09078.tar.lz
nixfiles-13ff1bb6fea6de1f09b858285d3bdca84df09078.tar.zst
nixfiles-13ff1bb6fea6de1f09b858285d3bdca84df09078.zip
Emacs: make projectile-kill-buffers ignore special buffers
Diffstat (limited to 'user/emacs')
-rw-r--r--user/emacs/.emacs.d/init.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/user/emacs/.emacs.d/init.el b/user/emacs/.emacs.d/init.el
index edd19da1..d679f086 100644
--- a/user/emacs/.emacs.d/init.el
+++ b/user/emacs/.emacs.d/init.el
@@ -397,6 +397,7 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
             (add-to-list 'projectile-project-root-files "package.json")
             (add-to-list 'projectile-project-root-files-bottom-up "pnpm-workspace.yaml")
             (setq projectile-completion-system 'ivy
+                  projectile-kill-buffers-filter 'kill-only-files
                   projectile-project-root-files-functions '(projectile-root-local
                                                             projectile-root-top-down
                                                             projectile-root-bottom-up