5 Commits

2 changed files with 44 additions and 5 deletions
Split View
  1. 47
      config.org
  2. 2
      user-global/elisp/beancount.el

47
config.org

@ -142,12 +142,12 @@ https://blog.d46.us/advanced-emacs-startup/
** Elpaca
Boilerplate for Elpaca
#+begin_src emacs-lisp
(defvar elpaca-installer-version 0.8)
(defvar elpaca-installer-version 0.10)
(defvar elpaca-directory (expand-file-name "elpaca/" user-emacs-directory))
(defvar elpaca-builds-directory (expand-file-name "builds/" elpaca-directory))
(defvar elpaca-repos-directory (expand-file-name "repos/" elpaca-directory))
(defvar elpaca-order '(elpaca :repo "https://github.com/progfolio/elpaca.git"
:ref nil :depth 1
:ref nil :depth 1 :inherit ignore
:files (:defaults "elpaca-test.el" (:exclude "extensions"))
:build (:not elpaca--activate-package)))
(let* ((repo (expand-file-name "elpaca/" elpaca-repos-directory))
@ -1083,7 +1083,7 @@ The macro copies the GUID of the email to the clipboard
Attention: the GUID changes when the email is moved to another folder!
The macro:
#+BEGIN_SRC
#+BEGIN_SRC shell :tangle no
Sub AddLinkToMessageInClipboard()
'Adds a link to the currently selected message to the clipboard
Dim objMail As Outlook.MailItem
@ -1559,7 +1559,17 @@ not sure if actually better
:after org
:config
(org-node-cache-mode)
(org-node-backlink-mode))
(org-node-backlink-mode)
(org-node-context-follow-mode)
(setq org-node-context-collapse-more-than 0)
;; ignore TOOD nodes, nodes with tag 'calls' and ROAM_EXCLUDE
(setq org-node-filter-fn
(lambda (node)
(not
(or (org-node-get-todo node)
(member "calls" (org-node-get-tags node))
(assoc "ROAM_EXCLUDE" (org-node-get-properties node))))))
)
#+end_src
** org-ql
@ -2033,7 +2043,36 @@ Start fava with fava my_file.beancount
It is accessable on this URL: [[http://127.0.0.1:5000][Fava]]
Beancount-mode can start fava and open the URL right away.
* typst
todo
tinymist lsp
tree-sitter
#+begin_src emacs-lisp
(use-package typst-ts-mode
:ensure (:type git :host codeberg :repo "meow_king/typst-ts-mode" :branch "develop")
:custom
(typst-ts-watch-options "--open")
(typst-ts-mode-grammar-location (expand-file-name "tree-sitter/libtree-sitter-typst.so" user-emacs-directory))
(typst-ts-mode-enable-raw-blocks-highlight t)
:config
(keymap-set typst-ts-mode-map "C-c C-c" #'typst-ts-tmenu))
;;workaround until I can use typst tree-sitter
;; https://github.com/Ziqi-Yang/typst-mode.el
(use-package typst-mode
:ensure (:type git :host github :repo "Ziqi-Yang/typst-mode.el")
:mode ("\\.typst\\'" . typst-mode)
:config
(setq lsp-clients-typst-server-command '("typst" "serve")))
(use-package websocket
:ensure t)
(use-package typst-preview
:ensure (:type git :host github :repo "havarddj/typst-preview.el")
:config
(setq typst-preview-browser "default"))
#+end_src
* Stuff after everything else
Set garbage collector to a smaller value to let it kick in faster.
Maybe a problem on Windows?

2
user-global/elisp/beancount.el

@ -412,7 +412,7 @@ Leave point at the beginning of the thing under point.")
(defvar beancount-terminal-name "foot"
"Name of the terminal emulator to run fava.")
(defvar beancount-fava-exec "/usr/bin/fava"
(defvar beancount-fava-exec "/opt/fava/bin/fava"
"Full path of fava executable.")
(defvar beancount-install-dir nil

Loading…
Cancel
Save