diff options
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 38 |
1 files changed, 35 insertions, 3 deletions
@@ -327,9 +327,10 @@ | |||
327 | 327 | ||
328 | 328 | ||
329 | ;; --------------------------------------------------------------------- | 329 | ;; --------------------------------------------------------------------- |
330 | ;;; File Management | 330 | ;;; File, project, & repository management |
331 | ;; ---------------- | 331 | ;; --------------------------------------- |
332 | ;; Everything to do with file or directory management goes here. | 332 | ;; This section contains everything to do with file, project, & repo |
333 | ;; management. This includes `magit' and `projectile'. | ||
333 | ;; --------------------------------------------------------------------- | 334 | ;; --------------------------------------------------------------------- |
334 | 335 | ||
335 | ;; --------------------------------- | 336 | ;; --------------------------------- |
@@ -366,6 +367,37 @@ | |||
366 | (setq create-lockfiles nil) | 367 | (setq create-lockfiles nil) |
367 | 368 | ||
368 | 369 | ||
370 | ;; --------------------------------- | ||
371 | ;; Project management | ||
372 | ;; ------------------ | ||
373 | ;; `Projectile' provides features | ||
374 | ;; for operating on a project level. | ||
375 | ;; --------------------------------- | ||
376 | |||
377 | (use-package projectile | ||
378 | :straight t | ||
379 | :config | ||
380 | (projectile-mode) | ||
381 | (setq projectile-project-search-path '("~/Projects") | ||
382 | projectile-known-projects-file "~/.emacs.d/projectile-known-projects.eld" | ||
383 | projectile-cache-file "~/.emacs.d/projectile.cache") | ||
384 | :bind-keymap ("C-c p" . projectile-command-map)) | ||
385 | |||
386 | |||
387 | ;; --------------------------------- | ||
388 | ;; `Magit' - A git porcelain | ||
389 | ;; ------------------------- | ||
390 | ;; Magit provides a state-of-the-art | ||
391 | ;; interface for managing `git' | ||
392 | ;; repositories. | ||
393 | ;; --------------------------------- | ||
394 | |||
395 | (use-package magit | ||
396 | :straight t | ||
397 | :custom | ||
398 | (magit-display-buffer-function #'magit-display-buffer-same-window-except-diff-v1)) | ||
399 | |||
400 | |||
369 | 401 | ||
370 | 402 | ||
371 | ;; --------------------------------------------------------------------- | 403 | ;; --------------------------------------------------------------------- |