Compare commits
No commits in common. "83eddd3c9ff0df9a95e739cd8491604ddf9a225b" and "a0aff6ce848eafbcbe5ba075e8d1f2791668169b" have entirely different histories.
83eddd3c9f
...
a0aff6ce84
85
config.org
85
config.org
@ -25,7 +25,6 @@ Some basic settings for Emacs
|
|||||||
(setq user-full-name "Judah Sotomayor"
|
(setq user-full-name "Judah Sotomayor"
|
||||||
user-mail-address "")
|
user-mail-address "")
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
#+begin_src emacs-lisp :tangle "packages.el"
|
#+begin_src emacs-lisp :tangle "packages.el"
|
||||||
(package! noCtrlC
|
(package! noCtrlC
|
||||||
:recipe (:host nil :type git :repo "https://git.freedomland.xyz/judahsotomayor/noctrlc"))
|
:recipe (:host nil :type git :repo "https://git.freedomland.xyz/judahsotomayor/noctrlc"))
|
||||||
@ -57,16 +56,12 @@ Set a sweet splash image
|
|||||||
I want a non-ESC way to get back to normal mode:
|
I want a non-ESC way to get back to normal mode:
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(map! :desc "Switch to normal mode" :i "C-c" #'evil-normal-state)
|
(map! :desc "Switch to normal mode" :i "C-c" #'evil-normal-state)
|
||||||
(after! org-mode (map! :desc "Delete previous character in insert mode" :i "C-h" #'evil-delete-backward-char))
|
|
||||||
(map! :desc "Increment number below or after cursor" :n "C-a" #'evil-numbers/inc-at-pt)
|
|
||||||
(map! :desc "Decrement number below or after cursor" :n "C-x" #'evil-numbers/dec-at-pt)
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* Terminal setup
|
* Terminal setup
|
||||||
I like to just use bash:
|
I like to just use bash:
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(defun bash nil
|
(defun bash ()
|
||||||
"Lauch term with /bin/bash"
|
|
||||||
(interactive)
|
(interactive)
|
||||||
(term "/bin/bash"))
|
(term "/bin/bash"))
|
||||||
(map!
|
(map!
|
||||||
@ -337,12 +332,12 @@ If nil it defaults to `split-string-default-separators', normally
|
|||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(setq org-log-done 'time)
|
(setq org-log-done 'time)
|
||||||
(after! org-mode
|
(after! org-mode
|
||||||
(setq org-log-done 'time)
|
(setq org-log-done 'time)
|
||||||
(setq org-archive-location "~/org/archive.org")
|
(setq org-archive-location "~/org/archive.org")
|
||||||
(add-to-list 'org-tags-exclude-from-inheritance "hastodos")
|
(add-to-list 'org-tags-exclude-from-inheritance "hastodos")
|
||||||
(setq org-hide-emphasis-markers nil))
|
(setq org-hide-emphasis-markers nil))
|
||||||
(setq org-directory "~/org/")
|
(setq org-directory "~/org/")
|
||||||
(setq org-roam-directory org-directory)
|
(setq org-roam-directory org-directory)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Appearances
|
** Appearances
|
||||||
@ -405,6 +400,21 @@ It causes a lot of duplication!
|
|||||||
#+end_src
|
#+end_src
|
||||||
#+end_comment
|
#+end_comment
|
||||||
Turn it off with this snippet.
|
Turn it off with this snippet.
|
||||||
|
** Org-drill
|
||||||
|
Set some good keybinds for quick access:
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package! org-drill
|
||||||
|
:defer nil
|
||||||
|
)
|
||||||
|
|
||||||
|
(map! :leader
|
||||||
|
:desc "Start org-drill"
|
||||||
|
"d d" #'org-drill-directory)
|
||||||
|
|
||||||
|
(map! :leader
|
||||||
|
:desc "Start org-drill in cram mode"
|
||||||
|
"d c" #'org-drill-cram)
|
||||||
|
#+end_src
|
||||||
** ob-lilypond
|
** ob-lilypond
|
||||||
*** package
|
*** package
|
||||||
#+begin_src emacs-lisp :tangle "packages.el"
|
#+begin_src emacs-lisp :tangle "packages.el"
|
||||||
@ -443,18 +453,6 @@ Edna allows better dependency handling for todos and the like.
|
|||||||
#+begin_src emacs-lisp :tangle packages.el
|
#+begin_src emacs-lisp :tangle packages.el
|
||||||
(package! anki-editor)
|
(package! anki-editor)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** Configuring inline-anki
|
|
||||||
#+begin_src emacs-lisp :tangle packages.el
|
|
||||||
(package! asyncloop)
|
|
||||||
(package! inline-aki
|
|
||||||
:recipe (:host github :repo "meedstrom/inline-anki"))
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
|
||||||
(setq inline-anki-note-type "Katex and Markdown Cloze")
|
|
||||||
(setq inline-anki-use-tags t)
|
|
||||||
#+end_src
|
|
||||||
** calfw Calendar View
|
** calfw Calendar View
|
||||||
#+begin_src emacs-lisp :tangle "packages.el"
|
#+begin_src emacs-lisp :tangle "packages.el"
|
||||||
(package! calfw
|
(package! calfw
|
||||||
@ -498,14 +496,6 @@ In order for editorconfig to do its thing, indentation by the lsp must be disabl
|
|||||||
(setq org-hugo-base-dir (concat org-directory (file-name-as-directory "website")))
|
(setq org-hugo-base-dir (concat org-directory (file-name-as-directory "website")))
|
||||||
(setq org-hugo-default-section-directory "posts")
|
(setq org-hugo-default-section-directory "posts")
|
||||||
#+end_src
|
#+end_src
|
||||||
** Weblorg Alternative
|
|
||||||
#+begin_src emacs-lisp :tangle "packages.el"
|
|
||||||
(package! weblorg)
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
|
||||||
(use-package! weblorg)
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
* Crafting a Writing Environment
|
* Crafting a Writing Environment
|
||||||
For writing I like to automate as much as possible.
|
For writing I like to automate as much as possible.
|
||||||
@ -545,7 +535,9 @@ $x + 1 = 3$
|
|||||||
: luamagick
|
: luamagick
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(setq-default org-html-with-latex 'verbatim)
|
(setq-default org-html-with-latex `dvisvgm)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
(unless (boundp 'org-latex-classes)
|
(unless (boundp 'org-latex-classes)
|
||||||
(setq org-latex-classes nil))
|
(setq org-latex-classes nil))
|
||||||
@ -1048,7 +1040,6 @@ This template is supposed to be the standard.
|
|||||||
"\\documentclass[]{mcdowellcv}
|
"\\documentclass[]{mcdowellcv}
|
||||||
\\usepackage{amsmath}
|
\\usepackage{amsmath}
|
||||||
\\usepackage[]{multicol}
|
\\usepackage[]{multicol}
|
||||||
\\usepackage[hidelinks]{hyperref}
|
|
||||||
[NO-DEFAULT-PACKAGES]
|
[NO-DEFAULT-PACKAGES]
|
||||||
[NO-PACKAGES]"
|
[NO-PACKAGES]"
|
||||||
("\\section{%s}" . "\\section*{%s}")
|
("\\section{%s}" . "\\section*{%s}")
|
||||||
@ -1108,9 +1099,9 @@ We need to bring in the correct SSH agent values, so that Emacs is aware of wher
|
|||||||
:config
|
:config
|
||||||
(setq org-roam-file-extensions '("org" "md")) ; enable Org-roam for a markdown extension
|
(setq org-roam-file-extensions '("org" "md")) ; enable Org-roam for a markdown extension
|
||||||
(setq md-roam-file-extension "md") ; default "md". Specify an extension such as "markdown"
|
(setq md-roam-file-extension "md") ; default "md". Specify an extension such as "markdown"
|
||||||
(md-roam-mode 1)
|
|
||||||
(setq md-roam-file-extension-single "md")
|
(setq md-roam-file-extension-single "md")
|
||||||
(setq md-roam-use-org-extract-ref nil)
|
(setq md-roam-use-org-extract-ref nil)
|
||||||
|
|
||||||
(org-roam-db-autosync-mode 1))
|
(org-roam-db-autosync-mode 1))
|
||||||
#+end_src
|
#+end_src
|
||||||
** COMMENT Capture template for documentation
|
** COMMENT Capture template for documentation
|
||||||
@ -1128,29 +1119,11 @@ We need to bring in the correct SSH agent values, so that Emacs is aware of wher
|
|||||||
(use-package! spray
|
(use-package! spray
|
||||||
:commands spray-mode)
|
:commands spray-mode)
|
||||||
#+end_src
|
#+end_src
|
||||||
** Snow
|
|
||||||
#+begin_src emacs-lisp :tangle "packages.el"
|
|
||||||
(package! snow)
|
|
||||||
(package! fireplace)
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
|
||||||
(use-package! snow)
|
|
||||||
(use-package! fireplace)
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(add-to-list 'org-tags-exclude-from-inheritance "hastodos")
|
(add-to-list 'org-tags-exclude-from-inheritance "hastodos")
|
||||||
(add-to-list 'org-tags-exclude-from-inheritance "ignore")
|
(add-to-list 'org-tags-exclude-from-inheritance "ignore")
|
||||||
#+end_src
|
#+end_src
|
||||||
** Cookies
|
|
||||||
#+begin_src emacs-lisp
|
|
||||||
(setq fortune-file "/home/user/.config/doom/cookies.txt")
|
|
||||||
(setq cookie-file "/home/user/.config/doom/cookies.txt")
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
#+RESULTS:
|
|
||||||
: /home/user/.config/doom/cookies.txt
|
|
||||||
|
|
||||||
|
|
||||||
* Graphics in org-mode
|
* Graphics in org-mode
|
||||||
@ -1276,10 +1249,6 @@ SVGBob is an ASCII art renderer. It can do all kinds of nifty things with just a
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
* Archiving
|
|
||||||
#+begin_src emacs-lisp
|
|
||||||
(setq org-archive-location "/home/user/org/archive.org::")
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
* Init.el
|
* Init.el
|
||||||
I like to have all my config in one place.
|
I like to have all my config in one place.
|
||||||
@ -1381,7 +1350,7 @@ I like to have all my config in one place.
|
|||||||
(eval +overlay) ; run code, run (also, repls)
|
(eval +overlay) ; run code, run (also, repls)
|
||||||
;;gist ; interacting with github gists
|
;;gist ; interacting with github gists
|
||||||
(lookup +dictionary +offline) ; navigate your code and its documentation
|
(lookup +dictionary +offline) ; navigate your code and its documentation
|
||||||
(lsp +eglot) ; M-x vscode
|
lsp ; M-x vscode
|
||||||
magit ; a git porcelain for Emacs
|
magit ; a git porcelain for Emacs
|
||||||
;;make ; run make tasks from Emacs
|
;;make ; run make tasks from Emacs
|
||||||
;;pass ; password manager for nerds
|
;;pass ; password manager for nerds
|
||||||
|
BIN
cookies.txt
BIN
cookies.txt
Binary file not shown.
@ -1,7 +0,0 @@
|
|||||||
# -*- mode: snippet -*-
|
|
||||||
# name: Anki cloze
|
|
||||||
# uuid:2023-12-10t232420
|
|
||||||
# key: cz
|
|
||||||
# condition: t
|
|
||||||
# --
|
|
||||||
{{c$1::$0::$.=.$}}
|
|
Loading…
Reference in New Issue
Block a user