Tangle & Cleanup
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -13,3 +13,4 @@ tramp
|
|||||||
/main.el
|
/main.el
|
||||||
/result
|
/result
|
||||||
/transient/
|
/transient/
|
||||||
|
/BROWSE
|
||||||
|
|||||||
@@ -19,12 +19,5 @@
|
|||||||
package = pkgs.emacs29;
|
package = pkgs.emacs29;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
devShells = {
|
|
||||||
default = pkgs.mkShell {
|
|
||||||
packages = with pkgs; [
|
|
||||||
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
64
main.org
64
main.org
@@ -12,7 +12,7 @@
|
|||||||
We must initialize =leaf.el=, which we use as a use-package
|
We must initialize =leaf.el=, which we use as a use-package
|
||||||
replacement for defining configs for different things.
|
replacement for defining configs for different things.
|
||||||
|
|
||||||
#+begin_src elisp
|
#+begin_src elisp :tangle yes
|
||||||
;; <leaf-install-code>
|
;; <leaf-install-code>
|
||||||
(eval-and-compile
|
(eval-and-compile
|
||||||
(customize-set-variable
|
(customize-set-variable
|
||||||
@@ -43,7 +43,7 @@ replacement for defining configs for different things.
|
|||||||
:bind (("M-=" . transient-dwim-dispatch)))
|
:bind (("M-=" . transient-dwim-dispatch)))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
#+begin_src elisp
|
#+begin_src elisp :tangle yes
|
||||||
(leaf custom-el
|
(leaf custom-el
|
||||||
:config
|
:config
|
||||||
;; Ensure custom writes to specific file
|
;; Ensure custom writes to specific file
|
||||||
@@ -51,7 +51,7 @@ replacement for defining configs for different things.
|
|||||||
(load custom-file 'noerror 'nomessage))
|
(load custom-file 'noerror 'nomessage))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
#+begin_src elisp
|
#+begin_src elisp :tangle yes
|
||||||
(leaf backup
|
(leaf backup
|
||||||
:config
|
:config
|
||||||
;; Change the location of file backups/locks into the emacs.d/backups/
|
;; Change the location of file backups/locks into the emacs.d/backups/
|
||||||
@@ -61,7 +61,7 @@ replacement for defining configs for different things.
|
|||||||
|
|
||||||
* Visual Customization
|
* Visual Customization
|
||||||
|
|
||||||
#+begin_src elisp
|
#+begin_src elisp :tangle yes
|
||||||
(leaf visual
|
(leaf visual
|
||||||
:doc "Visual Changes to Emacs"
|
:doc "Visual Changes to Emacs"
|
||||||
:tag "builtin" "internal"
|
:tag "builtin" "internal"
|
||||||
@@ -84,7 +84,7 @@ replacement for defining configs for different things.
|
|||||||
Exec-path-from-shell ensures that path variable is preserved from
|
Exec-path-from-shell ensures that path variable is preserved from
|
||||||
shell.
|
shell.
|
||||||
|
|
||||||
#+begin_src elisp
|
#+begin_src elisp :tangle yes
|
||||||
(leaf exec-path-from-shell :ensure t
|
(leaf exec-path-from-shell :ensure t
|
||||||
:config
|
:config
|
||||||
(exec-path-from-shell-initialize))
|
(exec-path-from-shell-initialize))
|
||||||
@@ -96,7 +96,7 @@ shell.
|
|||||||
|
|
||||||
Font related ligatures, combining multiple characters into "one".
|
Font related ligatures, combining multiple characters into "one".
|
||||||
|
|
||||||
#+begin_src elisp
|
#+begin_src elisp :tangle yes
|
||||||
(leaf ligature
|
(leaf ligature
|
||||||
:ensure t
|
:ensure t
|
||||||
:config
|
:config
|
||||||
@@ -125,12 +125,12 @@ Font related ligatures, combining multiple characters into "one".
|
|||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Profiling
|
** Profiling
|
||||||
#+begin_src elisp
|
#+begin_src elisp :tangle yes
|
||||||
(leaf esup :disabled nil :ensure t)
|
(leaf esup :disabled nil :ensure t)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Version Control
|
** Version Control
|
||||||
#+begin_src elisp
|
#+begin_src elisp :tangle yes
|
||||||
(leaf magit :ensure t :require t)
|
(leaf magit :ensure t :require t)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
@@ -139,7 +139,7 @@ Font related ligatures, combining multiple characters into "one".
|
|||||||
*** Direnv
|
*** Direnv
|
||||||
|
|
||||||
In order to support direnv (loading =nix-shell= / =nix develop=)
|
In order to support direnv (loading =nix-shell= / =nix develop=)
|
||||||
#+begin_src elisp
|
#+begin_src elisp :tangle yes
|
||||||
(leaf direnv
|
(leaf direnv
|
||||||
:ensure t
|
:ensure t
|
||||||
:hook
|
:hook
|
||||||
@@ -149,7 +149,7 @@ In order to support direnv (loading =nix-shell= / =nix develop=)
|
|||||||
*** Nix-mode
|
*** Nix-mode
|
||||||
|
|
||||||
=.nix= file mode
|
=.nix= file mode
|
||||||
#+begin_src elisp
|
#+begin_src elisp :tangle yes
|
||||||
(leaf nix-mode :ensure t)
|
(leaf nix-mode :ensure t)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
@@ -157,7 +157,7 @@ In order to support direnv (loading =nix-shell= / =nix develop=)
|
|||||||
|
|
||||||
We all know the web is the future, obviously, of course.
|
We all know the web is the future, obviously, of course.
|
||||||
|
|
||||||
#+begin_src elisp
|
#+begin_src elisp :tangle yes
|
||||||
(leaf web-mode
|
(leaf web-mode
|
||||||
:ensure t
|
:ensure t
|
||||||
:mode
|
:mode
|
||||||
@@ -171,13 +171,13 @@ We all know the web is the future, obviously, of course.
|
|||||||
|
|
||||||
** D2
|
** D2
|
||||||
|
|
||||||
#+begin_src elisp
|
#+begin_src elisp :tangle yes
|
||||||
(leaf d2-mode :ensure t)
|
(leaf d2-mode :ensure t)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** YAML
|
** YAML
|
||||||
|
|
||||||
#+begin_src elisp
|
#+begin_src elisp :tangle yes
|
||||||
(leaf yaml-mode :ensure t)
|
(leaf yaml-mode :ensure t)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
@@ -186,7 +186,7 @@ We all know the web is the future, obviously, of course.
|
|||||||
|
|
||||||
We like autocomplete, it... is nice, okay?
|
We like autocomplete, it... is nice, okay?
|
||||||
|
|
||||||
#+begin_src elisp
|
#+begin_src elisp :tangle yes
|
||||||
(leaf company :ensure t
|
(leaf company :ensure t
|
||||||
:bind
|
:bind
|
||||||
(("C-<tab>" . company-complete))
|
(("C-<tab>" . company-complete))
|
||||||
@@ -197,7 +197,7 @@ We like autocomplete, it... is nice, okay?
|
|||||||
|
|
||||||
We love language features that make languages nice
|
We love language features that make languages nice
|
||||||
|
|
||||||
#+begin_src elisp
|
#+begin_src elisp :tangle yes
|
||||||
(leaf lsp-mode
|
(leaf lsp-mode
|
||||||
:ensure t
|
:ensure t
|
||||||
:init
|
:init
|
||||||
@@ -226,7 +226,7 @@ We love language features that make languages nice
|
|||||||
:config (which-key-mode)))
|
:config (which-key-mode)))
|
||||||
#+end_src
|
#+end_src
|
||||||
**** Projectile (Projects)
|
**** Projectile (Projects)
|
||||||
#+begin_src elisp
|
#+begin_src elisp :tangle yes
|
||||||
(leaf projectile
|
(leaf projectile
|
||||||
:commands projectile-mode
|
:commands projectile-mode
|
||||||
:config
|
:config
|
||||||
@@ -238,7 +238,7 @@ We love language features that make languages nice
|
|||||||
Using python-mode is to have more up to date features (and
|
Using python-mode is to have more up to date features (and
|
||||||
highlighting) compared to builtin python-mode.
|
highlighting) compared to builtin python-mode.
|
||||||
|
|
||||||
#+begin_src elisp
|
#+begin_src elisp :tangle yes
|
||||||
(leaf python-mode :ensure t
|
(leaf python-mode :ensure t
|
||||||
:config
|
:config
|
||||||
(setq python-shell-interpreter "ipython"
|
(setq python-shell-interpreter "ipython"
|
||||||
@@ -248,46 +248,46 @@ highlighting) compared to builtin python-mode.
|
|||||||
|
|
||||||
For when we aren't nix'ing things, and want some nice poetry.
|
For when we aren't nix'ing things, and want some nice poetry.
|
||||||
|
|
||||||
#+begin_src elisp
|
#+begin_src elisp :tangle yes
|
||||||
(leaf poetry :ensure t)
|
(leaf poetry :ensure t)
|
||||||
#+end_src
|
#+end_src
|
||||||
** Java
|
** Java
|
||||||
|
|
||||||
LSP for java is /nice/.
|
LSP for java is /nice/.
|
||||||
|
|
||||||
#+begin_src elisp
|
#+begin_src elisp :tangle yes
|
||||||
(leaf lsp-java
|
(leaf lsp-java
|
||||||
:hook (java-mode-hook . lsp))
|
:hook (java-mode-hook . lsp))
|
||||||
#+end_src
|
#+end_src
|
||||||
** C
|
** C
|
||||||
Who even needs C++, not me, no way, no how.
|
Who even needs C++, not me, no way, no how.
|
||||||
#+begin_src elisp
|
#+begin_src elisp :tangle yes
|
||||||
(leaf company-ctags :ensure t)
|
(leaf company-ctags :ensure t)
|
||||||
(leaf company-c-headers :ensure t)
|
(leaf company-c-headers :ensure t)
|
||||||
(leaf meson-mode :ensure t)
|
(leaf meson-mode :ensure t)
|
||||||
#+end_src
|
#+end_src
|
||||||
** Haskell
|
** Haskell
|
||||||
#+begin_src elisp
|
#+begin_src elisp :tangle yes
|
||||||
(leaf haskell-mode :ensure t
|
(leaf haskell-mode :ensure t
|
||||||
:config
|
:config
|
||||||
(leaf lsp-haskell :ensure t)
|
(leaf lsp-haskell :ensure t)
|
||||||
(leaf company-ghci :ensure t))
|
(leaf company-ghci :ensure t))
|
||||||
#+end_src
|
#+end_src
|
||||||
** Rust
|
** Rust
|
||||||
#+begin_src elisp
|
#+begin_src elisp :tangle yes
|
||||||
(leaf rust-mode :ensure t)
|
(leaf rust-mode :ensure t)
|
||||||
#+end_src
|
#+end_src
|
||||||
** Minecraft??
|
** Minecraft??
|
||||||
Minecraft =mcfunction= support, because, it can be annoying to type
|
Minecraft =mcfunction= support, because, it can be annoying to type
|
||||||
this stuff otherwise.
|
this stuff otherwise.
|
||||||
#+begin_src elisp
|
#+begin_src elisp :tangle yes
|
||||||
(leaf mcf-mode
|
(leaf mcf-mode
|
||||||
:el-get rasensuihei/mcf)
|
:el-get rasensuihei/mcf)
|
||||||
#+end_src
|
#+end_src
|
||||||
** Lisps
|
** Lisps
|
||||||
|
|
||||||
Gonna need to have pretty brackets
|
Gonna need to have pretty brackets
|
||||||
#+begin_src elisp
|
#+begin_src elisp :tangle yes
|
||||||
(leaf rainbow-delimiters
|
(leaf rainbow-delimiters
|
||||||
:ensure t
|
:ensure t
|
||||||
:commands rainbow-delimiters-mode
|
:commands rainbow-delimiters-mode
|
||||||
@@ -299,7 +299,7 @@ Gonna need to have pretty brackets
|
|||||||
*** Racket
|
*** Racket
|
||||||
Makes using racket so much nicer
|
Makes using racket so much nicer
|
||||||
|
|
||||||
#+begin_src elisp
|
#+begin_src elisp :tangle yes
|
||||||
(leaf geiser-racket :ensure t)
|
(leaf geiser-racket :ensure t)
|
||||||
#+end_src
|
#+end_src
|
||||||
** Org
|
** Org
|
||||||
@@ -307,7 +307,7 @@ Makes using racket so much nicer
|
|||||||
We use org-ref because it provides some niceties, like doi-utils for
|
We use org-ref because it provides some niceties, like doi-utils for
|
||||||
updating our bibliography.
|
updating our bibliography.
|
||||||
|
|
||||||
#+begin_src elisp
|
#+begin_src elisp :tangle yes
|
||||||
(leaf ivy-bibtex :ensure t)
|
(leaf ivy-bibtex :ensure t)
|
||||||
(leaf helm-bibtex :ensure t)
|
(leaf helm-bibtex :ensure t)
|
||||||
(leaf org-ref :ensure t
|
(leaf org-ref :ensure t
|
||||||
@@ -319,14 +319,14 @@ updating our bibliography.
|
|||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
For more export formats we use pandoc:
|
For more export formats we use pandoc:
|
||||||
#+begin_src elisp
|
#+begin_src elisp :tangle yes
|
||||||
(leaf ox-pandoc :ensure t
|
(leaf ox-pandoc :ensure t
|
||||||
:after org)
|
:after org)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
Nicer LaTeX editing (AuCTeX):
|
Nicer LaTeX editing (AuCTeX):
|
||||||
|
|
||||||
#+begin_src elisp
|
#+begin_src elisp :tangle yes
|
||||||
(leaf auctex :ensure t
|
(leaf auctex :ensure t
|
||||||
:after org)
|
:after org)
|
||||||
#+end_src
|
#+end_src
|
||||||
@@ -334,7 +334,7 @@ Nicer LaTeX editing (AuCTeX):
|
|||||||
We also ma(k|d)e use of org-tempo for templating things, which can be
|
We also ma(k|d)e use of org-tempo for templating things, which can be
|
||||||
nice. Should use the export based templating probably. Eventually.
|
nice. Should use the export based templating probably. Eventually.
|
||||||
|
|
||||||
#+begin_src elisp
|
#+begin_src elisp :tangle yes
|
||||||
(leaf org-cfg
|
(leaf org-cfg
|
||||||
:after org
|
:after org
|
||||||
:require org-ref oc-csl org-tempo ox-latex ox-pandoc
|
:require org-ref oc-csl org-tempo ox-latex ox-pandoc
|
||||||
@@ -410,17 +410,17 @@ nice. Should use the export based templating probably. Eventually.
|
|||||||
|
|
||||||
And in case we want to make some (GNU)?plots?
|
And in case we want to make some (GNU)?plots?
|
||||||
|
|
||||||
#+begin_src elisp
|
#+begin_src elisp :tangle yes
|
||||||
(leaf gnuplot
|
(leaf gnuplot
|
||||||
:ensure t)
|
:ensure t)
|
||||||
#+end_src
|
#+end_src
|
||||||
** Flutter
|
** Flutter
|
||||||
#+begin_src elisp
|
#+begin_src elisp :tangle yes
|
||||||
(leaf dart-mode :ensure t)
|
(leaf dart-mode :ensure t)
|
||||||
(leaf lsp-dart :ensure t)
|
(leaf lsp-dart :ensure t)
|
||||||
#+end_src
|
#+end_src
|
||||||
** BQN
|
** BQN
|
||||||
#+begin_src elisp
|
#+begin_src elisp :tangle yes
|
||||||
(leaf bqn-mode
|
(leaf bqn-mode
|
||||||
:el-get "museoa/bqn-mode"
|
:el-get "museoa/bqn-mode"
|
||||||
:config
|
:config
|
||||||
|
|||||||
Reference in New Issue
Block a user