Merge branch 'master' of git.billenius.com:love/emacs
This commit is contained in:
commit
6f14f6db88
21
.emacs
21
.emacs
@ -3,7 +3,7 @@
|
|||||||
;; ===========================
|
;; ===========================
|
||||||
(require 'package)
|
(require 'package)
|
||||||
|
|
||||||
;; Add MELPA, Org, and GNU package archives
|
;(setq package-check-signature nil); Add MELPA, Org, and GNU package archives
|
||||||
(setq package-archives '(("melpa" . "https://melpa.org/packages/")
|
(setq package-archives '(("melpa" . "https://melpa.org/packages/")
|
||||||
("org" . "https://orgmode.org/elpa/")
|
("org" . "https://orgmode.org/elpa/")
|
||||||
("gnu" . "https://elpa.gnu.org/packages/")))
|
("gnu" . "https://elpa.gnu.org/packages/")))
|
||||||
@ -101,6 +101,15 @@
|
|||||||
;; UI Customizations
|
;; 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
|
;; Disable unnecessary UI elements
|
||||||
(tool-bar-mode -1) ;; Hide the toolbar
|
(tool-bar-mode -1) ;; Hide the toolbar
|
||||||
(menu-bar-mode -1) ;; Hide the menu bar
|
(menu-bar-mode -1) ;; Hide the menu bar
|
||||||
@ -146,6 +155,7 @@
|
|||||||
(add-to-list 'exec-path "/opt/homebrew/bin")
|
(add-to-list 'exec-path "/opt/homebrew/bin")
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
;; ===========================
|
;; ===========================
|
||||||
;; Evil Mode Configuration
|
;; Evil Mode Configuration
|
||||||
;; ===========================
|
;; ===========================
|
||||||
@ -186,10 +196,11 @@
|
|||||||
|
|
||||||
;; Install and configure Projectile
|
;; Install and configure Projectile
|
||||||
(use-package projectile
|
(use-package projectile
|
||||||
:init
|
:config
|
||||||
(projectile-mode +1)
|
(projectile-mode +1)
|
||||||
:bind (:map projectile-mode-map
|
(define-key projectile-mode-map (kbd "C-c p") 'projectile-command-map)
|
||||||
("s-p" . projectile-command-map)))
|
(setq projectile-project-search-path '("~/Documents/Code/"))
|
||||||
|
)
|
||||||
|
|
||||||
;; Install and bind Magit
|
;; Install and bind Magit
|
||||||
(use-package magit
|
(use-package magit
|
||||||
|
Loading…
x
Reference in New Issue
Block a user