GNU Emacs config from video: Leaving Doom For GNU Emacs
This commit is contained in:
parent
ed888f4255
commit
eb25b133fa
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue