From c6955892cf01d53e37bbf3d5dcb767b52dbe1c6f Mon Sep 17 00:00:00 2001 From: Derek Taylor Date: Wed, 17 Jul 2024 14:56:57 -0500 Subject: [PATCH] Cleaning up for DarkXero. --- .config/emacs/config.el | 17 +++++++++-------- .config/emacs/config.org | 15 +-------------- 2 files changed, 10 insertions(+), 22 deletions(-) diff --git a/.config/emacs/config.el b/.config/emacs/config.el index 153af80..02169ed 100644 --- a/.config/emacs/config.el +++ b/.config/emacs/config.el @@ -484,6 +484,7 @@ (ivy-set-display-transformer 'ivy-switch-buffer 'ivy-rich-switch-buffer-transformer)) +(use-package dart-mode) (use-package haskell-mode) (use-package lua-mode) (use-package php-mode) @@ -526,14 +527,14 @@ (use-package org-bullets) (add-hook 'org-mode-hook (lambda () (org-bullets-mode 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))))) + (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) diff --git a/.config/emacs/config.org b/.config/emacs/config.org index bd6d1dd..9770169 100644 --- a/.config/emacs/config.org +++ b/.config/emacs/config.org @@ -32,7 +32,6 @@ - [[#language-support][LANGUAGE SUPPORT]] - [[#minibuffer-escape][MINIBUFFER ESCAPE]] - [[#modeline][MODELINE]] -- [[#mu4e-email][MU4E EMAIL]] - [[#neotree][NEOTREE]] - [[#org-mode][ORG MODE]] - [[#diminish-org-indent-mode][Diminish Org Indent Mode]] @@ -666,6 +665,7 @@ Adding highlights to TODO and related words. Emacs has built-in programming language modes for Lisp, Scheme, DSSSL, Ada, ASM, AWK, C, C++, Fortran, Icon, IDL (CORBA), IDLWAVE, Java, Javascript, M4, Makefiles, Metafont, Modula2, Object Pascal, Objective-C, Octave, Pascal, Perl, Pike, PostScript, Prolog, Python, Ruby, Simula, SQL, Tcl, Verilog, and VHDL. Other languages will require you to install additional modes. #+begin_src emacs-lisp +(use-package dart-mode) (use-package haskell-mode) (use-package lua-mode) (use-package php-mode) @@ -694,18 +694,6 @@ The modeline is the bottom status bar that appears in Emacs windows. While you #+end_src -* MU4E EMAIL -=mu4e= is the email client in Emacs. It requires that 'mu' and 'isync' be installed on your Linux system. Here is a great tutorial about setting up mu4e: https://f-santos.gitlab.io/2020-04-24-mu4e.html - -NOTE For privacy reasons, I'm importing all of my mu4e settings from a separate file which is not public. - -#+begin_src emacs-lisp -(add-to-list 'load-path "/usr/local/share/emacs/site-lisp/mu4e") -(require 'mu4e) -(load-file "~/nc/emacs-stuff/email-mu4e.el") - -#+end_src - * NEOTREE Neotree is a file tree viewer. When you open neotree, it jumps to the current file thanks to neo-smart-open. The neo-window-fixed-size setting makes the neotree width be adjustable. NeoTree provides following themes: classic, ascii, arrow, icons, and nerd. Theme can be config'd by setting "two" themes for neo-theme: one for the GUI and one for the terminal. I like to use 'SPC t' for 'toggle' keybindings, so I have used 'SPC t n' for toggle-neotree. @@ -1034,7 +1022,6 @@ With Emacs version 29, true transparency has been added. I have turned transpar which-key-separator " → " )) #+end_src - * TEST #+begin_src emacs-lisp (defun reader ()