Adding nerd-icons to Emacs config.

This commit is contained in:
Derek Taylor
2025-04-12 22:11:50 -05:00
parent 5c00de0386
commit 90e2193073
2 changed files with 28 additions and 8 deletions
+9 -1
View File
@@ -242,6 +242,14 @@
(global-set-key (kbd "<C-wheel-up>") 'text-scale-increase) (global-set-key (kbd "<C-wheel-up>") 'text-scale-increase)
(global-set-key (kbd "<C-wheel-down>") 'text-scale-decrease) (global-set-key (kbd "<C-wheel-down>") 'text-scale-decrease)
(use-package nerd-icons
;; :custom
;; The Nerd Font you want to use in GUI
;; "Symbols Nerd Font Mono" is the default and is recommended
;; but you can use any other Nerd Font if you want
;; (nerd-icons-font-family "Symbols Nerd Font Mono")
)
(use-package general (use-package general
:config :config
(general-evil-setup) (general-evil-setup)
@@ -568,7 +576,7 @@
(eval-after-load 'org-indent '(diminish 'org-indent-mode)) (eval-after-load 'org-indent '(diminish 'org-indent-mode))
(custom-set-faces (custom-set-faces
'(org-level-1 ((t (:inherit outline-1 :height 1.7)))) '(org-level-1 ((t (:inherit outline-1 :height 1.7))))
'(org-level-2 ((t (:inherit outline-2 :height 1.6)))) '(org-level-2 ((t (:inherit outline-2 :height 1.6))))
'(org-level-3 ((t (:inherit outline-3 :height 1.5)))) '(org-level-3 ((t (:inherit outline-3 :height 1.5))))
+12
View File
@@ -24,6 +24,7 @@
- [[#fonts][FONTS]] - [[#fonts][FONTS]]
- [[#setting-the-font-face][Setting the Font Face]] - [[#setting-the-font-face][Setting the Font Face]]
- [[#zooming-inout][Zooming In/Out]] - [[#zooming-inout][Zooming In/Out]]
- [[#nerd-fonts-for-modeline][Nerd Fonts For Modeline]]
- [[#general-keybindings][GENERAL KEYBINDINGS]] - [[#general-keybindings][GENERAL KEYBINDINGS]]
- [[#git-programs][GIT PROGRAMS]] - [[#git-programs][GIT PROGRAMS]]
- [[#git-time-machine][Git Time Machine]] - [[#git-time-machine][Git Time Machine]]
@@ -396,6 +397,17 @@ You can use the bindings CTRL plus =/- for zooming in/out. You can also use CTR
(global-set-key (kbd "<C-wheel-down>") 'text-scale-decrease) (global-set-key (kbd "<C-wheel-down>") 'text-scale-decrease)
#+end_src #+end_src
** Nerd Fonts For Modeline
#+begin_src emacs-lisp
(use-package nerd-icons
;; :custom
;; The Nerd Font you want to use in GUI
;; "Symbols Nerd Font Mono" is the default and is recommended
;; but you can use any other Nerd Font if you want
;; (nerd-icons-font-family "Symbols Nerd Font Mono")
)
#+end_src
* GENERAL KEYBINDINGS * GENERAL KEYBINDINGS
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package general (use-package general