Archived
1
0
Fork 0

remove unneeded persp-mode code ; tweak buffer list activation so helm more reliably filters ; as of this commit helm filtering /WORKS/ with persp-mode and no outside functions/etc

This commit is contained in:
KemoNine 2022-08-26 11:07:27 -04:00
parent 50c17ff520
commit 65e49cecfb
2 changed files with 1 additions and 14 deletions

View file

@ -75,20 +75,7 @@
(require 'helm-projectile)
(helm-projectile-on)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; persp-mode
(diminish 'projectile-mode)
(with-eval-after-load "persp-mode-projectile-bridge-autoloads"
(add-hook 'persp-mode-projectile-bridge-mode-hook
#'(lambda ()
(if persp-mode-projectile-bridge-mode
(persp-mode-projectile-bridge-find-perspectives-for-all-buffers)
(persp-mode-projectile-bridge-kill-perspectives))))
(add-hook 'after-init-hook
#'(lambda ()
(persp-mode-projectile-bridge-mode 1))
t))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; programming

View file

@ -330,7 +330,7 @@
(helm-mode 1)
(helm-autoresize-mode 1)
(global-set-key (kbd "C-x C-d") 'helm-browse-project)
(global-set-key (kbd "C-x b") 'helm-buffers-list)
(global-set-key (kbd "C-x b") 'list-buffers)
(define-key global-map [remap find-file] 'helm-find-files)
(define-key global-map [remap occur] 'helm-occur)
(define-key global-map [remap list-buffers] 'helm-buffers-list)