GNU Emacs config from video: Leaving Doom For GNU Emacs

This commit is contained in:
Derek Taylor 2021-04-15 23:08:05 -05:00
parent ed888f4255
commit eb25b133fa
2 changed files with 17 additions and 21 deletions

View File

@ -137,11 +137,11 @@ Emacs Dashboard is an extensible startup screen showing you recent files, bookma
;;(setq dashboard-startup-banner 'logo) ;; use standard emacs logo as banner
(setq dashboard-startup-banner "/home/dt/.emacs.d/emacs-dash.png") ;; use custom image as banner
(setq dashboard-center-content nil) ;; set to 't' for centered content
(setq dashboard-items '((recents . 10)
(setq dashboard-items '((recents . 5)
(agenda . 5 )
(bookmarks . 5)
(projects . 5)
(registers . 5)))
(bookmarks . 3)
(projects . 3)
(registers . 3)))
:config
(dashboard-setup-startup-hook)
(dashboard-modify-heading-icons '((recents . "file-text")
@ -227,20 +227,28 @@ Defining our fonts.
** Setting The Font Face
#+begin_src emacs-lisp
(set-face-attribute 'default nil
:font "SauceCodePro Nerd Font 11"
:font "Mononoki Nerd Font 12"
:weight 'medium)
(set-face-attribute 'variable-pitch nil
:font "Ubuntu Nerd Font 11"
:font "Ubuntu Nerd Font 12"
:weight 'medium)
(set-face-attribute 'fixed-pitch nil
:font "SauceCodePro Nerd Font 11"
:font "Mononoki Nerd Font 12"
:weight 'medium)
;; Makes commented text italics (working in emacsclient but not emacs)
(set-face-attribute 'font-lock-comment-face nil
:slant 'italic)
;; Makes keywords italics (working in emacsclient but not emacs)
(set-face-attribute 'font-lock-keyword-face nil
:slant 'italic)
;; Uncomment the following line if line spacing needs adjusting.
;; (setq-default line-spacing 0.10)
;; Needed if using emacsclient. Otherwise, your fonts will be smaller than expected.
(add-to-list 'default-frame-alist '(font . "SauceCodePro Nerd Font 11"))
(add-to-list 'default-frame-alist '(font . "Mononoki Nerd Font 12"))
;; changes certain keywords to symbols, such as lamda!
(setq global-prettify-symbols-mode t)
#+end_src
** Zooming In and Out

View File

@ -2,16 +2,4 @@
(expand-file-name
"config.org"
user-emacs-directory))
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(package-selected-packages
'(org-bullets haskell-mode vterm eshell-syntax-highlighting toc-org magit-todos magit-lfs magit ivy-posframe ivy-rich counsel peep-dired dired-open projectile dashboard general doom-modeline which-key evil-collection evil use-package)))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)