|
@ -854,10 +854,12 @@ Manage projects and jump quickly between its files |
|
|
:ensure t |
|
|
:ensure t |
|
|
:defer t |
|
|
:defer t |
|
|
:hook (projectile-after-switch-project . (lambda () (set-workon_home))) ;; for pyvenv to auto activate environment |
|
|
:hook (projectile-after-switch-project . (lambda () (set-workon_home))) ;; for pyvenv to auto activate environment |
|
|
:bind |
|
|
|
|
|
(("C-c p p" . projectile-switch-project) |
|
|
|
|
|
("C-c p c" . projectile-command-map) |
|
|
|
|
|
("C-c p s s" . projectile-ag)) |
|
|
|
|
|
|
|
|
:bind-keymap |
|
|
|
|
|
("C-c p" . projectile-command-map) |
|
|
|
|
|
; :bind |
|
|
|
|
|
; (("C-c p p" . projectile-switch-project) |
|
|
|
|
|
; ("C-c p c" . projectile-command-map) |
|
|
|
|
|
; ("C-c p s s" . projectile-ag)) |
|
|
:preface |
|
|
:preface |
|
|
(defun set-workon_home() |
|
|
(defun set-workon_home() |
|
|
(setenv "WORKON_HOME" (projectile-project-root))) |
|
|
(setenv "WORKON_HOME" (projectile-project-root))) |
|
@ -869,6 +871,11 @@ Manage projects and jump quickly between its files |
|
|
(setq-default projectile-completion-system 'ivy |
|
|
(setq-default projectile-completion-system 'ivy |
|
|
projectile-enable-caching t |
|
|
projectile-enable-caching t |
|
|
projectile-mode-line '(:eval (projectile-project-name)))) |
|
|
projectile-mode-line '(:eval (projectile-project-name)))) |
|
|
|
|
|
|
|
|
|
|
|
;; requires ripgrep on system for rg functions |
|
|
|
|
|
(use-package counsel-projectile |
|
|
|
|
|
:ensure t |
|
|
|
|
|
:config (counsel-projectile-mode)) |
|
|
#+END_SRC |
|
|
#+END_SRC |
|
|
|
|
|
|
|
|
** smartparens |
|
|
** smartparens |
|
|