projects
/
~bandali
/
configs
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[emacs] remove and ignore {early-,}init.el again
[~bandali/configs]
/
init.org
diff --git
a/init.org
b/init.org
index
79dbbd2
..
787d386
100644
(file)
--- a/
init.org
+++ b/
init.org
@@
-65,7
+65,7
@@
make build
** First line
#+begin_src emacs-lisp :comments none
** First line
#+begin_src emacs-lisp :comments none
-;;; init.el --- Amin Bandali's Emacs config -*- lexical-binding: t -*-
+;;; init.el --- Amin Bandali's Emacs config -*- lexical-binding: t
; eval: (view-mode 1)
-*-
#+end_src
Enable =view-mode=, which both makes the file read-only (as a reminder
#+end_src
Enable =view-mode=, which both makes the file read-only (as a reminder
@@
-124,13
+124,6
@@
The conventions below were inspired by [[https://github.com/hlissner/doom-emacs]
:CUSTOM_ID: initial-setup
:END:
:CUSTOM_ID: initial-setup
:END:
-#+begin_src emacs-lisp :comments none
-;;; Code:
-
-
\f
-;; * Initial setup
-#+end_src
-
** Emacs initialization
I'd like to do a couple of measurements of Emacs' startup time. First,
** Emacs initialization
I'd like to do a couple of measurements of Emacs' startup time. First,
@@
-498,11
+491,6
@@
Convenience macro for =setq='ing multiple variables to the same value:
:CUSTOM_ID: core
:END:
:CUSTOM_ID: core
:END:
-#+begin_src emacs-lisp :comments none
-
\f
-;; * Core
-#+end_src
-
** Defaults
*** Time and battery in mode-line
** Defaults
*** Time and battery in mode-line
@@
-1056,11
+1044,6
@@
There's no way I could top that, so I won't attempt to.
* Borg's =layer/essentials=
* Borg's =layer/essentials=
-#+begin_src emacs-lisp :comments none
-
\f
-;; * Borg's `layer/essentials'
-#+end_src
-
TODO: break this giant source block down into individual org sections.
#+begin_src emacs-lisp
TODO: break this giant source block down into individual org sections.
#+begin_src emacs-lisp
@@
-1139,24
+1122,10
@@
TODO: break this giant source block down into individual org sections.
(add-to-list 'tramp-default-proxies-alist
(list (regexp-quote (system-name)) nil nil)))
(add-to-list 'tramp-default-proxies-alist
(list (regexp-quote (system-name)) nil nil)))
-(use-package undo-tree
- :config
- (global-undo-tree-mode -1))
- ;; :bind (("C-?" . undo-tree-undo)
- ;; ("M-_" . undo-tree-redo))
- ;; :config
- ;; (global-undo-tree-mode)
- ;; (setq undo-tree-mode-lighter ""
- ;; undo-tree-auto-save-history t))
#+end_src
* Editing
#+end_src
* Editing
-#+begin_src emacs-lisp :comments none
-
\f
-;; * Editing
-#+end_src
-
** Company
#+begin_src emacs-lisp
** Company
#+begin_src emacs-lisp
@@
-1178,11
+1147,6
@@
TODO: break this giant source block down into individual org sections.
* Syntax and spell checking
* Syntax and spell checking
-#+begin_src emacs-lisp :comments none
-
\f
-;; * Syntax and spell checking
-#+end_src
-
#+begin_src emacs-lisp
(use-package flycheck
:defer 3
#+begin_src emacs-lisp
(use-package flycheck
:defer 3
@@
-1226,11
+1190,6
@@
TODO: break this giant source block down into individual org sections.
#+end_src
* Programming modes
#+end_src
* Programming modes
-#+begin_src emacs-lisp :comments none
-
\f
-;; * Programming modes
-#+end_src
-
** [[http://alloytools.org][Alloy]] (with [[https://github.com/dwwmmn/alloy-mode][alloy-mode]])
#+begin_src emacs-lisp
** [[http://alloytools.org][Alloy]] (with [[https://github.com/dwwmmn/alloy-mode][alloy-mode]])
#+begin_src emacs-lisp
@@
-1591,11
+1550,6
@@
treemacs
* Emacs Enhancements
* Emacs Enhancements
-#+begin_src emacs-lisp :comments none
-
\f
-;; * Emacs Enhancements
-#+end_src
-
** [[https://github.com/justbur/emacs-which-key][which-key]]
#+begin_quote
** [[https://github.com/justbur/emacs-which-key][which-key]]
#+begin_quote
@@
-2019,11
+1973,6
@@
Hopefully temporary.
* Email
* Email
-#+begin_src emacs-lisp :comments none
-
\f
-;; * Email
-#+end_src
-
#+begin_src emacs-lisp
(defvar amin-maildir (expand-file-name "~/mail/"))
(after! recentf
#+begin_src emacs-lisp
(defvar amin-maildir (expand-file-name "~/mail/"))
(after! recentf
@@
-2291,11
+2240,6
@@
I tried using =borg-elpa= instead of doing it like this, but it added
* Blogging
* Blogging
-#+begin_src emacs-lisp :comments none
-
\f
-;; * Blogging
-#+end_src
-
** [[https://ox-hugo.scripter.co][ox-hugo]]
#+begin_src emacs-lisp
** [[https://ox-hugo.scripter.co][ox-hugo]]
#+begin_src emacs-lisp
@@
-2311,11
+2255,6
@@
I tried using =borg-elpa= instead of doing it like this, but it added
:CUSTOM_ID: post-initialization
:END:
:CUSTOM_ID: post-initialization
:END:
-#+begin_src emacs-lisp :comments none
-
\f
-;; * Post initialization
-#+end_src
-
Display how long it took to load the init file.
#+begin_src emacs-lisp
Display how long it took to load the init file.
#+begin_src emacs-lisp