mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-11 19:17:19 +10:00
Adding nerd-icons to Emacs config.
This commit is contained in:
@@ -242,6 +242,14 @@
|
||||
(global-set-key (kbd "<C-wheel-up>") 'text-scale-increase)
|
||||
(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
|
||||
:config
|
||||
(general-evil-setup)
|
||||
@@ -568,14 +576,14 @@
|
||||
|
||||
(eval-after-load 'org-indent '(diminish 'org-indent-mode))
|
||||
|
||||
(custom-set-faces
|
||||
'(org-level-1 ((t (:inherit outline-1 :height 1.7))))
|
||||
'(org-level-2 ((t (:inherit outline-2 :height 1.6))))
|
||||
'(org-level-3 ((t (:inherit outline-3 :height 1.5))))
|
||||
'(org-level-4 ((t (:inherit outline-4 :height 1.4))))
|
||||
'(org-level-5 ((t (:inherit outline-5 :height 1.3))))
|
||||
'(org-level-6 ((t (:inherit outline-5 :height 1.2))))
|
||||
'(org-level-7 ((t (:inherit outline-5 :height 1.1)))))
|
||||
(custom-set-faces
|
||||
'(org-level-1 ((t (:inherit outline-1 :height 1.7))))
|
||||
'(org-level-2 ((t (:inherit outline-2 :height 1.6))))
|
||||
'(org-level-3 ((t (:inherit outline-3 :height 1.5))))
|
||||
'(org-level-4 ((t (:inherit outline-4 :height 1.4))))
|
||||
'(org-level-5 ((t (:inherit outline-5 :height 1.3))))
|
||||
'(org-level-6 ((t (:inherit outline-5 :height 1.2))))
|
||||
'(org-level-7 ((t (:inherit outline-5 :height 1.1)))))
|
||||
|
||||
(require 'org-tempo)
|
||||
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
- [[#fonts][FONTS]]
|
||||
- [[#setting-the-font-face][Setting the Font Face]]
|
||||
- [[#zooming-inout][Zooming In/Out]]
|
||||
- [[#nerd-fonts-for-modeline][Nerd Fonts For Modeline]]
|
||||
- [[#general-keybindings][GENERAL KEYBINDINGS]]
|
||||
- [[#git-programs][GIT PROGRAMS]]
|
||||
- [[#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)
|
||||
#+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
|
||||
#+begin_src emacs-lisp
|
||||
(use-package general
|
||||
|
||||
Reference in New Issue
Block a user