From f8612bc44e4d42ba2e5a3ee2c1df39ebae4fc42a Mon Sep 17 00:00:00 2001 From: Love Billenius Date: Tue, 28 Jan 2025 23:39:08 +0100 Subject: [PATCH] Projectile --- .emacs | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.emacs b/.emacs index 06a998c..6aa3a5d 100644 --- a/.emacs +++ b/.emacs @@ -102,6 +102,15 @@ ;; UI Customizations ;; =========================== +;; Revert buffers when the underlying file has changed +(global-auto-revert-mode 1) + +;; Electric Pair Mode - Completes parentheses, quotes, etc. +(electric-pair-mode 1) + +;; Replace yes-no prompts with y-n +(defalias 'yes-or-no-p 'y-or-n-p) + ;; Disable unnecessary UI elements (tool-bar-mode -1) ;; Hide the toolbar (menu-bar-mode -1) ;; Hide the menu bar @@ -139,6 +148,7 @@ (add-to-list 'exec-path "/opt/homebrew/bin") ) + ;; =========================== ;; Evil Mode Configuration ;; =========================== @@ -179,9 +189,10 @@ ;; Install and configure Projectile (use-package projectile - :init + :config (projectile-mode +1) (define-key projectile-mode-map (kbd "C-c p") 'projectile-command-map) + (setq projectile-project-search-path '("~/Documents/Code/")) ) ;; Install and bind Magit