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:
parent
50c17ff520
commit
65e49cecfb
13
code/init.el
13
code/init.el
|
@ -75,20 +75,7 @@
|
||||||
|
|
||||||
(require 'helm-projectile)
|
(require 'helm-projectile)
|
||||||
(helm-projectile-on)
|
(helm-projectile-on)
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
||||||
; persp-mode
|
|
||||||
(diminish 'projectile-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
|
; programming
|
||||||
|
|
|
@ -330,7 +330,7 @@
|
||||||
(helm-mode 1)
|
(helm-mode 1)
|
||||||
(helm-autoresize-mode 1)
|
(helm-autoresize-mode 1)
|
||||||
(global-set-key (kbd "C-x C-d") 'helm-browse-project)
|
(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 find-file] 'helm-find-files)
|
||||||
(define-key global-map [remap occur] 'helm-occur)
|
(define-key global-map [remap occur] 'helm-occur)
|
||||||
(define-key global-map [remap list-buffers] 'helm-buffers-list)
|
(define-key global-map [remap list-buffers] 'helm-buffers-list)
|
||||||
|
|
Reference in a new issue