feat: refactor projectile setup
Set ivy as completion system refactor keymap binding don't enable projectile-global-mode, regular mode is enough
This commit is contained in:
parent
70bac71039
commit
667b311e32
1 changed files with 4 additions and 2 deletions
|
|
@ -1001,12 +1001,14 @@ https://github.com/bbatsov/projectile
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package projectile
|
(use-package projectile
|
||||||
:diminish
|
:diminish
|
||||||
|
:custom ((projectile-completion-system 'ivy))
|
||||||
|
:bind-keymap
|
||||||
|
("C-c p" . projectile-command-map)
|
||||||
:config
|
:config
|
||||||
(setq projectile-globally-ignored-directories (cons ".ccls-cache" projectile-globally-ignored-directories))
|
(setq projectile-globally-ignored-directories (cons ".ccls-cache" projectile-globally-ignored-directories))
|
||||||
(setq projectile-indexing-method 'alien)
|
(setq projectile-indexing-method 'alien)
|
||||||
(setq projectile-enable-caching t)
|
(setq projectile-enable-caching t)
|
||||||
(projectile-global-mode)
|
(projectile-mode)
|
||||||
(define-key projectile-mode-map (kbd "C-c p") 'projectile-command-map)
|
|
||||||
)
|
)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue