wip: SPLIT ME

This commit is contained in:
Madeleine Sydney
2025-05-06 11:35:47 -06:00
parent f97d8171e4
commit 3e74aa18d6
11 changed files with 36 additions and 12 deletions

View File

@@ -59,5 +59,5 @@ in {
# else pkgs.vesktop;
};
};
});
});
}

View File

@@ -23,7 +23,6 @@ in {
vesktop = {
state.firstLaunch = false;
settings = {
discordBranch = "canary";
minimizeToTray = false;
arRPC = true;
};

View File

@@ -0,0 +1,7 @@
;;; syd-lang-c.el -*- lexical-binding: t; -*-
(with-eval-after-load 'cc-mode
(dolist (c '(?_))
(modify-syntax-entry c "w" c-mode-syntax-table)))
(provide 'syd-lang-c)

View File

@@ -148,6 +148,7 @@ See https://lists.gnu.org/archive/html/emacs-orgmode/2019-07/msg00081.html."
'(org-special-keyword ((t (:inherit (font-lock-comment-face fixed-pitch)))))
`(org-block ((t (:inherit fixed-pitch
,@(funcall bg 'sumi-ink-2)))))
`(org-quote ((t (:inherit (variable-pitch org-block)))))
'(org-code ((t (:inherit (shadow fixed-pitch))))))))
(evil-define-command syd-org-yank-link (register)
@@ -361,9 +362,7 @@ See https://lists.gnu.org/archive/html/emacs-orgmode/2019-07/msg00081.html."
'((t (:inherit (bold error org-todo)))) ""))
:custom ((org-startup-folded 'content)
(org-directory "~/org")
;; Let the agenda be comfortably mutable by storing the list of
;; agenda files in a file.
(org-agenda-files "~/org/agenda-files")
(org-agenda-files (list org-directory))
(org-agenda-deadline-faces '((1.001 . error)
(1.0 . org-warning)
(0.5 . org-upcoming-deadline)
@@ -533,6 +532,11 @@ See https://lists.gnu.org/archive/html/emacs-orgmode/2019-07/msg00081.html."
:target (file+head "%<%Y-%m-%d>.org" "#+title: %<%Y-%m-%d>")
:empty-lines 1))))
:config
(add-to-list 'org-agenda-files org-roam-directory)
(with-eval-after-load 'org-roam-dailies
(add-to-list 'org-agenda-files
(file-name-concat org-roam-directory
org-roam-dailies-directory)))
(defun syd-org-init-roam-h ()
"Setup `org-roam' but don't immediately initialize its database. Instead,
initialize it when it will be actually needed."
@@ -589,5 +593,12 @@ In case of failure, fail gracefully."
(use-package org-noter
:commands org-noter)
(use-package org-contrib)
(use-package ox-extra
:after org-contrib
:config
(ox-extras-activate '(latex-header-blocks ignore-headlines)))
(provide 'syd-org)
;;; syd-org.el ends here

View File

@@ -8,7 +8,9 @@
:magic ("%PDF" . pdf-view-mode)
:general (:keymaps 'pdf-view-mode-map
:states 'motion
"q" #'kill-current-buffer)
"q" #'kill-current-buffer
"d" #'pdf-view-scroll-up-or-next-page
"u" #'pdf-view-scroll-down-or-previous-page)
:custom ((pdf-view-display-size 'fit-page))
:config
;; HACK: Fix "Symbol's function definition is void:

View File

@@ -56,13 +56,12 @@
:straight (:type git
:host github
:repo "msyds/projection"
:files (:defaults "src/projection-multi/*.el"))
:files ("src/projection-multi/*.el"))
:general (:keymaps 'syd-leader-project-map
"M" #'projection-multi-compile)
:after projection
:config
(require 'projection-multi-bb)
(setq projection-multi-bb-executable (executable-find "bb")))
(require 'projection-multi-bb))
;; ;; Embark integration for projection-multi.
;; (use-package projection-multi-embark

View File

@@ -140,7 +140,7 @@ in {
}
{ # Block private DMs from screencast...
matches = [
{ title = "Element \\|"; }
{ title = "Element.*\\|"; }
{ title = "Discord.*@"; }
];
excludes = [