Package Source Changes, Auto-Updates, & C/C++ Mode
- Make package sources an org heading - Remove old org package source - Rename elpa package source to gnu-elpa - Add nongnu-elpa package source - Add package to auto-update packages - Replace custom dracula pro theme with doom dracula theme - Enable highlight-indent-guides for text-mode as well - Add cc-mode for working with C/C++ files
This commit is contained in:
35
README.org
35
README.org
@@ -29,15 +29,15 @@
|
||||
|
||||
* Package System Setup
|
||||
|
||||
Package sources and initialization.
|
||||
** Package Sources and Initialization.
|
||||
|
||||
#+begin_src emacs-lisp :tangle init.el
|
||||
;; Initialize package sources
|
||||
(require 'package)
|
||||
|
||||
(setq package-archives '(("melpa" . "https://melpa.org/packages/")
|
||||
("org" . "https://orgmode.org/elpa/")
|
||||
("elpa" . "https://elpa.gnu.org/packages/")))
|
||||
("gnu-elpa" . "https://elpa.gnu.org/packages/")
|
||||
("nongnu-elpa" . "https://elpa.nongnu.org/nongnu/")))
|
||||
|
||||
(package-initialize)
|
||||
(unless package-archive-contents
|
||||
@@ -51,7 +51,15 @@ Package sources and initialization.
|
||||
(setq use-package-always-ensure t)
|
||||
#+end_src
|
||||
|
||||
Basic UI Configuration
|
||||
** Auto Update Packages
|
||||
|
||||
#+begin_src emacs-lisp :tangle init.el
|
||||
(use-package auto-package-update
|
||||
:init
|
||||
(auto-package-update-maybe))
|
||||
#+end_src
|
||||
|
||||
* Basic UI Configuration
|
||||
|
||||
** Disable Unnecessary Visual Elements
|
||||
|
||||
@@ -203,13 +211,13 @@ Add ligature support for Fira Code font.
|
||||
** Color Theme
|
||||
|
||||
#+begin_src emacs-lisp :tangle init.el
|
||||
;; ;; Dracula Doom Theme
|
||||
;; (use-package doom-themes
|
||||
;; :init (load-theme 'doom-dracula t))
|
||||
;; Dracula Doom Theme
|
||||
(use-package doom-themes
|
||||
:init (load-theme 'doom-dracula t))
|
||||
|
||||
;; Dracula Pro Theme
|
||||
(add-to-list 'custom-theme-load-path "~/.config/emacs/themes")
|
||||
(load-theme 'dracula-pro t)
|
||||
;; ;; Dracula Pro Theme
|
||||
;; (add-to-list 'custom-theme-load-path "~/.config/emacs/themes")
|
||||
;; (load-theme 'dracula-pro t)
|
||||
#+end_src
|
||||
** Better Modeline
|
||||
|
||||
@@ -318,6 +326,7 @@ Use Hydra to design a transient key binding for quickly adjusting the scale of t
|
||||
#+begin_src emacs-lisp :tangle init.el
|
||||
(use-package highlight-indent-guides
|
||||
:hook (prog-mode . highlight-indent-guides-mode)
|
||||
:hook (text-mode . highlight-indent-guides-mode)
|
||||
:init
|
||||
(setq highlight-indent-guides-method 'fill)
|
||||
(setq highlight-indent-guides-responsive 'stack)
|
||||
@@ -610,6 +619,12 @@ Add ~#+auto_tangle: t~ to the org document to enable this.
|
||||
(use-package vimrc-mode)
|
||||
#+end_src
|
||||
|
||||
**** C/C++
|
||||
|
||||
#+begin_src emacs-lisp :tangle init.el
|
||||
(use-package cc-mode)
|
||||
#+end_src
|
||||
|
||||
*** Language Servers
|
||||
|
||||
#+begin_src emacs-lisp :tangle init.el
|
||||
|
Reference in New Issue
Block a user