Added snow and fireplace modules for some fun.

Re-added standard C-a and C-x vim keybinds, as EViL increment/decrement
does not support.

Added inline-anki package for better anki management.
Added cookies file
This commit is contained in:
Judah Sotomayor 2023-12-09 18:53:31 -05:00
parent a0aff6ce84
commit a0bcaf0092
Signed by: judahsotomayor
SSH Key Fingerprint: SHA256:9Dq4ppxhfAjbX+7HLXEt+ROMiIojI6kqQgUyFUJb9lI
2 changed files with 28 additions and 18 deletions

View File

@ -56,12 +56,16 @@ Set a sweet splash image
I want a non-ESC way to get back to normal mode:
#+begin_src emacs-lisp
(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
* Terminal setup
I like to just use bash:
#+begin_src emacs-lisp
(defun bash ()
(defun bash nil
"Lauch term with /bin/bash"
(interactive)
(term "/bin/bash"))
(map!
@ -400,21 +404,6 @@ It causes a lot of duplication!
#+end_src
#+end_comment
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
*** package
#+begin_src emacs-lisp :tangle "packages.el"
@ -452,6 +441,9 @@ Edna allows better dependency handling for todos and the like.
** Anki editing in org-mode
#+begin_src emacs-lisp :tangle packages.el
(package! anki-editor)
(package! inline-aki
:recipe (:host github :repo "meedstrom/inline-anki"))
#+end_src
** calfw Calendar View
#+begin_src emacs-lisp :tangle "packages.el"
@ -1099,9 +1091,9 @@ We need to bring in the correct SSH agent values, so that Emacs is aware of wher
:config
(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"
(md-roam-mode 1)
(setq md-roam-file-extension-single "md")
(setq md-roam-use-org-extract-ref nil)
(org-roam-db-autosync-mode 1))
#+end_src
** COMMENT Capture template for documentation
@ -1119,11 +1111,29 @@ We need to bring in the correct SSH agent values, so that Emacs is aware of wher
(use-package! spray
:commands spray-mode)
#+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
(add-to-list 'org-tags-exclude-from-inheritance "hastodos")
(add-to-list 'org-tags-exclude-from-inheritance "ignore")
#+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
@ -1350,7 +1360,7 @@ I like to have all my config in one place.
(eval +overlay) ; run code, run (also, repls)
;;gist ; interacting with github gists
(lookup +dictionary +offline) ; navigate your code and its documentation
lsp ; M-x vscode
(lsp +eglot) ; M-x vscode
magit ; a git porcelain for Emacs
;;make ; run make tasks from Emacs
;;pass ; password manager for nerds

BIN
cookies.txt Normal file

Binary file not shown.