projectile updates / fuller integration
This commit is contained in:
parent
92a77c2f97
commit
64e65c2bf7
|
@ -4,7 +4,7 @@
|
||||||
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t) ; this goes in chemacs2 init -- DO NOT UNCOMMENT
|
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t) ; this goes in chemacs2 init -- DO NOT UNCOMMENT
|
||||||
(package-initialize) ; this goes in chemacs2 init -- DO NOT UNCOMMENT
|
(package-initialize) ; this goes in chemacs2 init -- DO NOT UNCOMMENT
|
||||||
(add-to-list 'package-selected-packages
|
(add-to-list 'package-selected-packages
|
||||||
'(helpful helm helm-org helm-ls-git projectile dired-rainbow dired-rainbow-listing dired-single dash s origami diminish persp-mode modus-themes transpose-frame use-package)
|
'(helpful helm helm-org helm-ls-git projectile helm-projectile dired-rainbow dired-rainbow-listing dired-single dash s origami diminish persp-mode persp-mode-projectile-bridge modus-themes transpose-frame use-package)
|
||||||
)
|
)
|
||||||
(require 'use-package)
|
(require 'use-package)
|
||||||
|
|
||||||
|
@ -317,15 +317,6 @@
|
||||||
(modus-themes-load-vivendi)
|
(modus-themes-load-vivendi)
|
||||||
)
|
)
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
||||||
; persp-mode
|
|
||||||
(setq persp-auto-resume-time 0.25)
|
|
||||||
(setq persp-add-buffer-on-find-file nil)
|
|
||||||
(with-eval-after-load "persp-mode-autoloads"
|
|
||||||
(setq wg-morph-on nil) ;; switch off animation
|
|
||||||
(setq persp-autokill-buffer-on-remove 'kill-weak)
|
|
||||||
(add-hook 'window-setup-hook #'(lambda () (persp-mode 1))))
|
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
; helm
|
; helm
|
||||||
(setq completion-styles '(flex))
|
(setq completion-styles '(flex))
|
||||||
|
@ -356,6 +347,28 @@
|
||||||
; projectile
|
; projectile
|
||||||
(projectile-mode +1)
|
(projectile-mode +1)
|
||||||
(define-key projectile-mode-map (kbd "C-c j") 'projectile-command-map)
|
(define-key projectile-mode-map (kbd "C-c j") 'projectile-command-map)
|
||||||
|
(require 'helm-projectile)
|
||||||
|
(helm-projectile-on)
|
||||||
|
(setq projectile-project-search-path '("~/../src/"))
|
||||||
|
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
; persp-mode
|
||||||
|
(setq persp-auto-resume-time 0.25)
|
||||||
|
(setq persp-add-buffer-on-find-file nil)
|
||||||
|
(with-eval-after-load "persp-mode-autoloads"
|
||||||
|
(setq wg-morph-on nil) ;; switch off animation
|
||||||
|
(setq persp-autokill-buffer-on-remove 'kill-weak)
|
||||||
|
(add-hook 'window-setup-hook #'(lambda () (persp-mode 1))))
|
||||||
|
(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))
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
; flyspell
|
; flyspell
|
||||||
|
|
Reference in a new issue