GNU Emacs config from video: Leaving Doom For GNU Emacs

This commit is contained in:
Derek Taylor
2021-04-15 21:01:35 -05:00
parent a6f211a7b5
commit 00de2095d4

View File

@@ -49,6 +49,7 @@
- [[#which-key][WHICH KEY]] - [[#which-key][WHICH KEY]]
* PUT THIS IN YOUR INIT.EL * PUT THIS IN YOUR INIT.EL
I don't want to use init.el to config Emacs. I want to use an org file to config Emacs because I like literate configs with lots of comments. The following code block should be your init.el. This tells init.el to use the source code blocks from this file (config.org).
#+begin_verse #+begin_verse
(org-babel-load-file (org-babel-load-file
@@ -174,7 +175,8 @@ This setting ensures that emacsclient always opens on *dashboard* rather than *s
#+end_src #+end_src
* FINDING FILES * FINDING FILES
Though 'recentf' is one way to find recent files although I prefer using 'projectile-find-file-in-directory'. Though 'recentf' is one way to find recent files although I prefer using 'counsel-recentf'.
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package recentf (use-package recentf
:ensure t :ensure t
@@ -183,7 +185,7 @@ This setting ensures that emacsclient always opens on *dashboard* rather than *s
#+end_src #+end_src
* DIRED * DIRED
Dired is the file manager within Emacs. Below, I setup keybindings for image previews (peep-dired). Doom Emacs does not use 'SPC d' for any of its keybindings, so I've chosen the format of 'SPC d' plus 'key'. Dired is the file manager within Emacs. Below, I setup keybindings for image previews (peep-dired). I've chosen the format of 'SPC d' plus 'key'.
| COMMAND | DESCRIPTION | KEYBINDING | | COMMAND | DESCRIPTION | KEYBINDING |
|-------------------------------------------+-------------------------------------------------+------------| |-------------------------------------------+-------------------------------------------------+------------|
| dired | /Open dired file manager/ | SPC d d | | dired | /Open dired file manager/ | SPC d d |
@@ -221,6 +223,8 @@ Dired is the file manager within Emacs. Below, I setup keybindings for image pr
#+end_src #+end_src
* FONTS * FONTS
Defining our fonts.
** Setting The Font Face ** Setting The Font Face
#+begin_src emacs-lisp #+begin_src emacs-lisp
(set-face-attribute 'default nil (set-face-attribute 'default nil