summaryrefslogtreecommitdiff
path: root/config/projectile.el
diff options
context:
space:
mode:
authorbh <qn+git@excalibur.computer>2025-12-15 22:04:22 +0800
committerbh <qn+git@excalibur.computer>2025-12-15 22:04:22 +0800
commit891960df1400a9aa5f76fec502e52591e9350931 (patch)
tree5c832d9c3dfc0ab41290d7bdc4fceddcbf2bdd62 /config/projectile.el
parent096790cd907f4874e0e121c42b6b33a50e5105d2 (diff)
Added icons to Dired
Diffstat (limited to 'config/projectile.el')
-rw-r--r--config/projectile.el24
1 files changed, 24 insertions, 0 deletions
diff --git a/config/projectile.el b/config/projectile.el
new file mode 100644
index 0000000..4e9ab71
--- /dev/null
+++ b/config/projectile.el
@@ -0,0 +1,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)