From 5a3a6caf608ce9bf6dfa1feeea3b91ff34c7c499 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Tue, 5 Sep 2023 17:14:54 +0000 Subject: [PATCH] nerd fonts --- config/emacs/init.el | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/config/emacs/init.el b/config/emacs/init.el index f83a7da9..855cc893 100644 --- a/config/emacs/init.el +++ b/config/emacs/init.el @@ -110,9 +110,13 @@ ;; Corrects (and improves) org-mode's native fontification. ;;(doom-themes-org-config)) -;; all the icons -(use-package all-the-icons - :if (display-graphic-p)) +;; nerd-fonts instead of all-the-icons +(use-package nerd-icons + :custom + ;; "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 "JetBrainsMono NF") + ) ;; better statusbar (use-package doom-modeline @@ -195,8 +199,8 @@ (evil-global-set-key 'motion "j" 'evil-next-visual-line) (evil-global-set-key 'motion "k" 'evil-previous-visual-line) - (evil-set-inital-state 'messages-buffer-mode 'normal) - (evil-set-inital-state 'dashboard-mode 'normal)) + (evil-set-initial-state 'messages-buffer-mode 'normal) + (evil-set-initial-state 'dashboard-mode 'normal)) ;; video