From 7c113252928f3ec676a3d86688a89491110192fe Mon Sep 17 00:00:00 2001 From: KemoNine Date: Tue, 1 Oct 2024 12:25:56 -0400 Subject: [PATCH] further cleanup/removal based on obsidian migration --- common/_global.el | 14 +-------- common/workspaces.el | 53 ------------------------------- org/config-org-agendas.el | 28 ----------------- org/config-org-capture.el | 64 +------------------------------------- org/config-org-keyboard.el | 7 ----- org/config-org-tags.el | 16 ---------- org/init.el | 5 +-- 7 files changed, 3 insertions(+), 184 deletions(-) delete mode 100644 org/config-org-tags.el diff --git a/common/_global.el b/common/_global.el index 58ad5d0..35ac6b0 100644 --- a/common/_global.el +++ b/common/_global.el @@ -22,7 +22,7 @@ '(which-key all-the-icons revert-buffer-all centaur-tabs scratch persistent-scratch persp-mode rainbow-mode rainbow-delimiters markdown-mode focus zoom popwin dired-single diredfl doominhibitinhibit-modeline helpful helm helm-org dired-rainbow dired-rainbow-listing dired-single dash s origami modus-themes use-package) ) (add-to-list 'package-selected-packages - '(devdocs devdocs-browser magit helm-ls-git xclip) + '(xclip) ) (require 'use-package) @@ -442,7 +442,6 @@ (setq completion-styles '(flex)) (require 'helm-color) -(require 'helm-ls-git) (require 'helm-bookmark) (helm-autoresize-mode 1) @@ -584,17 +583,6 @@ (popwin-mode 1) -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -; devdocs -(require 'devdocs) -(require 'devdocs-browser) -; devdocs -(setq devdocs-data-dir "~/devdocs.el") -(global-set-key (kbd "C-x m") 'devdocs-lookup) -; devdocs-browser -(setq devdocs-browser-cache-directory "~/devdocs-browser") -(global-set-key (kbd "C-x n") 'devdocs-browser-open) - ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; tabs-bar ;(tab-bar-mode t) diff --git a/common/workspaces.el b/common/workspaces.el index 1bbf0d3..2d47dbb 100644 --- a/common/workspaces.el +++ b/common/workspaces.el @@ -74,7 +74,6 @@ (kmn/kill-other-buffers) (ignore-errors (kill-buffer "*scratch*")) ; Open main files used as 'gateway' to everything else - (find-file "~/org/culinary/meal_plan.org") (find-file "~/org/orgzly/_habits.org") (find-file "~/org/orgzly/_todo.org") (find-file "~/org/orgzly/_slipbox.org") @@ -99,7 +98,6 @@ (kmn/kill-other-buffers) (ignore-errors (kill-buffer "*scratch*")) ; Open main files used as 'gateway' to everything else - (find-file "~/org/culinary/meal_plan.org") (find-file "~/org/orgzly/_habits.org") (find-file "~/org/orgzly/_todo.org") (find-file "~/org/orgzly/_slipbox.org") @@ -153,18 +151,6 @@ (kmn/dired-directory-on-left dir_path) ) -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -; emacs config development -(defun kmn/workspace-code-emacs-config() - (interactive) - (kmn/workspace-code-empty "~/.emacs.d.profiles") - (find-file "~/.emacs.d.profiles/org/init.el") - (find-file "~/.emacs.d.profiles/code/init.el") - (find-file "~/.emacs.d.profiles/common/_global.el") - (find-file "~/.emacs.d.profiles/common/generic_functions.el") - (find-file "~/.emacs.d.profiles/common/workspaces.el") -) - ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; hugo development (defun kmn/workspace-code-generic() @@ -172,44 +158,5 @@ (kmn/workspace-code-empty "~/src") ) -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -; no man's sky game workspace -(defun kmn/workspace-game-nms () - (interactive) - (let ((frame (make-frame))) - (select-frame-set-input-focus frame) - (delete-other-windows) - (find-file "~/org/games/_games.org") - (find-file "~/org/games/games_nms.org") - (goto-char 0) - ) -) - -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -; warframe game workspace -(defun kmn/workspace-game-warframe () - (interactive) - (let ((frame (make-frame))) - (select-frame-set-input-focus frame) - (delete-other-windows) - (find-file "~/org/games/_games.org") - (find-file "~/org/games/games_warframe.org") - (goto-char 0) - ) -) - -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -; destiny game workspace -(defun kmn/workspace-game-destiny () - (interactive) - (let ((frame (make-frame))) - (select-frame-set-input-focus frame) - (delete-other-windows) - (find-file "~/org/games/_games.org") - (find-file "~/org/games/games_destiny.org") - (goto-char 0) - ) -) - ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; _global.el for scratch workspace definitions diff --git a/org/config-org-agendas.el b/org/config-org-agendas.el index e514861..f6b590c 100644 --- a/org/config-org-agendas.el +++ b/org/config-org-agendas.el @@ -199,34 +199,6 @@ )) ) ) - ("d" "Destiny" - ( - (agenda "" ( - (org-agenda-start-on-weekday 2) - (org-agenda-overriding-header "Scheduled") - (org-agenda-files (list "~/org/games/games_destiny.org")) - )) - (alltodo "" ( - (org-agenda-overriding-header "") - (org-agenda-files (list "~/org/games/games_destiny.org")) - (org-super-agenda-groups '( - (:name "WIP" :and (:todo "WIP" :not (:tag "crafting"))) - (:name "READY" :and (:todo "READY" :not (:tag "crafting"))) - (:name "Low Priority" :not (:tag "crafting")) - (:name "Patterns Needed" :not (:property ("resonance_needed" "0"))) - (:name "Barrel" :not (:property ("barrel" "true"))) - (:name "Magazine" :not (:property ("magazine" "true"))) - (:name "Perk 1" :not (:property ("perk_1" "true"))) - (:name "Perk 2" :not (:property ("perk_2" "true"))) - (:name "Frame" :not (:property ("frame" "true"))) - (:name "Weapon Leveling" :not (:property ("level_at_all_perks_or_higher" "true"))) - (:name "Enhanced Perk 1" :not (:property ("enhanced_perk_1" "true"))) - (:name "Enhanced Perk 2" :not (:property ("enhanced_perk_2" "true"))) - (:name "Masterwork" :not (:property ("masterworked" "true"))) - )) - )) - ) - ) ) ) diff --git a/org/config-org-capture.el b/org/config-org-capture.el index d1443e4..1ddeb84 100644 --- a/org/config-org-capture.el +++ b/org/config-org-capture.el @@ -19,13 +19,6 @@ ; orgmode capture templates (setq org-capture-templates '( - ("b" "Book to buy / process" entry - (file "~/org/orgzly/_slipbox.org") - (file "~/org/_org-capture-templates/template_book.org") - :prepend t - :immediate-finish "f" - :jump-to-captured "t" - ) ("d" "TODO (Main)" entry (file "~/org/orgzly/_todo.org") (file "~/org/_org-capture-templates/template_todo.org") @@ -40,45 +33,6 @@ :immediate-finish "f" :jump-to-captured "t" ) - ("b" "Blog Post" entry - (file+headline "~/org/blog/_blog.org" "Drafts") - (file "~/org/_org-capture-templates/template_blog.org") - ) - ("g" "Gaming") - ("gd" "Destiny") - ("gdc" "To Do - Crafted Gun" - entry (id "65a28e9e-e484-4722-8a25-4fbf0a8dea2c") - (file "~/org/_org-capture-templates/template_game_destiny_gun.org") - :prepend t - :immediate-finish "f" - :jump-to-captured "t" - :unnarrowed "t" - ) - ("gw" "Warframe") - ("gwd" "Daily Reset" - entry (file+headline "~/org/games/games_warframe.org" "Daily / Weekly Reset") - (file "~/org/_org-capture-templates/template_game_warframe_daily_reset.org") - :prepend t - :immediate-finish "f" - :jump-to-captured "t" - :unnarrowed "t" - ) - ("gww" "Weekly Reset" - entry (file+headline "~/org/games/games_warframe.org" "Daily / Weekly Reset") - (file "~/org/_org-capture-templates/template_game_warframe_weekly_reset.org") - :prepend t - :immediate-finish "f" - :jump-to-captured "t" - :unnarrowed "t" - ) - ("gwt" "To Do" - entry (file+headline "~/org/games/games_warframe.org" "To Do") - "** TODO %^{Heading}\n:LOGBOOK:\n- Created: %U\n:END:%?" - :immediate-finish "f" - :jump-to-captured "t" - :unnarrowed "t" - :prepend "t" - ) ("h" "Health") ("hc" "Couples") ("hcd" "Appointment noteworthy developments / [time] in review" @@ -92,7 +46,7 @@ ("hm" "Mike") ("hmd" "Appointment noteworthy developments / [time] in review" entry (file "~/org/orgzly/_slipbox.org") - "* READY [#A] %^{Heading} :health:appointment:%^g\nDEADLINE: %^t\n:LOGBOOK:\n- Created: %U\n:END:%?" + (file "~/org/_org-capture-templates/template_therapy_apt_developments.org.org") :immediate-finish "f" :jump-to-captured "t" :unnarrowed "t" @@ -105,20 +59,4 @@ :immediate-finish "f" :jump-to-captured "t" ) - ("r" "Recipe") - ("rs" "Standard" plain - (file "~/org/culinary/_recipes.org") - (file "~/org/_org-capture-templates/template_culinary_recipe.org") - :empty-lines-before 1 - ) - ("rb" "Budget Bytes" plain - (file "~/org/culinary/_recipes.org") - (file "~/org/_org-capture-templates/template_culinary_budget_bytes.org") - :empty-lines-before 1 - ) - ("t" "Trip" entry - (file+headline "~/org/trips.org" "Planned") - (file "~/org/_org-capture-templates/template_trip.org") - :empty-lines-before 1 - ) )) diff --git a/org/config-org-keyboard.el b/org/config-org-keyboard.el index 6afb302..4ff07b6 100644 --- a/org/config-org-keyboard.el +++ b/org/config-org-keyboard.el @@ -12,9 +12,6 @@ (global-set-key (kbd "C-w t t") 'org-tidy-untidy-buffer) (global-set-key (kbd "C-w t h") 'org-tidy-toggle) -(global-set-key (kbd "C-c d v") - (lambda () (interactive) (dired "~/org/Document_Archive")) -) (global-set-key (kbd "C-c d n") (lambda () (interactive) (find-file "~/org/_index.org")) ) @@ -24,7 +21,3 @@ (global-set-key (kbd "C-c d s") (lambda () (interactive) (find-file "~/org/orgzly/_slipbox.org")) ) -(global-set-key (kbd "C-c d g") - (lambda () (interactive) (find-file "~/org/games/_games.org")) -) -(global-set-key (kbd "C-c d r") 'kmn/workspace-org-culinary) diff --git a/org/config-org-tags.el b/org/config-org-tags.el deleted file mode 100644 index d392293..0000000 --- a/org/config-org-tags.el +++ /dev/null @@ -1,16 +0,0 @@ -(setq org-tags-exclude-from-inheritance (quote ("@recipe" "@budgetbytes" - "@vegan" "@vegetarian" - "@instapot" "@slowcooker" "@onepot" "@oven" "@baked" "@baking" "@dehydrator" "@ricecooker" - "@drink" "@marinade" "@dip" "@dinner" "@side" "@appetizer" "@desert" "@spice" "@jerky" "@snack" "@breakfast" - "@salad" "@soup" - "@stew" - "@beef" "@bison" "@pork" "@chicken" "@fish" "@wild" "@egg" "@vegetableprotein" "@redmeat" "@whitemeat" "@sausage" - "@steakfish" "@nonsteakfish" "@lakefish" "@oceanfish" - "@venison" "@splake" - "@beans" - "@rice" "@potato" "@sweetpotato" "@barley" "@noodles" "@corn" "@quinoa" "@couscous" "@oats" "@bread" - "@bellpepper" "@cabbage" - "@fig" "@lemon" "@lime" "@pineapple" "@coconut" - "@coconutmilk" "@oatmilk" "@coconutwater" - "@kemonine" "@waltdk" -))) diff --git a/org/init.el b/org/init.el index bb5a9f0..90ea9e9 100644 --- a/org/init.el +++ b/org/init.el @@ -271,9 +271,6 @@ (org-todo-if-needed "WIP")))))))) (add-hook 'org-checkbox-statistics-hook #'ct/org-summary-checkbox-cookie) -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -; tags -(load "~/.emacs.d.profiles/org/config-org-tags") ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; files @@ -522,7 +519,7 @@ '(package-selected-packages '(pomidor (org-tidy org-auto-expand ox-pandoc ox-hugo org-super-agenda org-alert burnt-toast alert) - (devdocs devdocs-browser magit helm-ls-git xclip) + (xclip) (which-key all-the-icons revert-buffer-all centaur-tabs scratch persistent-scratch persp-mode rainbow-mode rainbow-delimiters markdown-mode focus zoom popwin dired-single diredfl doominhibitinhibit-modeline helpful helm helm-org dired-rainbow dired-rainbow-listing dired-single dash s origami modus-themes use-package))) '(safe-local-variable-values '((org-duration-format . h:mm)