summaryrefslogtreecommitdiff
path: root/config/projectile.el
blob: 4e9ab71ed5ed7c7d9e98b833d67d4373d2154073 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
;; Projectile - Project management

(use-package projectile
	:config
	;; Enable projectile globally
	(projectile-mode +1)
	
	;; Set project search path (where your projects live)
	(setq projectile-project-search-path '("~/projects" "~/.config"))
	
	;; Cache project files for better performance
	(setq projectile-enable-caching t)
	
	;; Keybindings
	:bind-keymap
	("C-c p" . projectile-command-map)
	
	:bind
	; (("C-c p f" . projectile-find-file)		;; Find file in project
	;  ("C-c p p" . projectile-switch-project)	;; Switch between projects
	;  ("C-c p s" . projectile-ripgrep)))		;; Search in project
	)

(provide 'projectile)