diff --git a/userland/calendar-custom.el b/userland/calendar-custom.el new file mode 100644 index 0000000..2ab329d --- /dev/null +++ b/userland/calendar-custom.el @@ -0,0 +1,31 @@ +;;; calendar-custom.el --- Calendar customisations -*- lexical-binding: t -*- + +;; This file is not part of GNU Emacs + +;; This program is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published by +;; the Free Software Foundation, either version 3 of the License, or +;; (at your option) any later version. + +;; This program is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with this program. If not, see . + + +;;; Commentary: + +;; commentary + +;;; Code: + +(require 'calendar) + +(setq calendar-mark-holidays-flag t) + +(provide 'calendar-custom) + +;;; calendar-custom.el ends here diff --git a/userland/terminal.el b/userland/terminal.el index 8f703fc..37d950e 100644 --- a/userland/terminal.el +++ b/userland/terminal.el @@ -22,6 +22,8 @@ ;;; Code: +(require 'transient) + (defcustom theurgy-enable-vterm-windows nil "Whether `vterm' should be enabled on Windows sytems." :type 'boolean @@ -83,6 +85,21 @@ (slot . 0) (window-height . 0.2))) +(use-package restart-emacs) + +(use-package system-packages) + +(transient-define-prefix system-interactions-transient () + "Transient menu for interfacing with the system via system-packages and restart." + ["Emacs system actions" ("R" "Restart" restart-emacs)] + ["Package..." ("s" "Search" system-packages-search) + ("u" "Update" system-packages-update) + ("i" "Install" system-packages-install) + ("r" "Uninstall" system-packages-uninstall) + ("o" "Remove Orphans" system-packages-remove-orphaned)]) + +(define-key global-map (kbd "C-c o s") #'system-interactions-transient) + (provide 'terminal) ;;; terminal.el ends here diff --git a/workflows/org-custom.el b/workflows/org-custom.el index 4735e5f..7cc46f4 100644 --- a/workflows/org-custom.el +++ b/workflows/org-custom.el @@ -252,7 +252,7 @@ ("p" "Paragraph" mark-paragraph) ("b" "Buffer" mark-whole-buffer)]) -(define-key org-mode-map (kbd "C-c o SPC") #'mark-menu-transient) +(define-key global-map (kbd "C-c o SPC") #'mark-menu-transient) ;; Section navigation and reordering (defun move-sentence-right (&optional arg) @@ -322,7 +322,7 @@ ["Move paragraph..." ("u" "Up" move-paragraph-up) ("d" "Down" move-paragraph-down)]) -(define-key org-mode-map (kbd "C-c o r") #'reorder-transient) +(define-key global-map (kbd "C-c o r") #'reorder-transient) ;; Focused rewriting (defun break-out-sentence () @@ -350,7 +350,7 @@ (break-out-choose-sentence) (break-out-sentence))) -(define-key org-mode-map (kbd "C-c o b") #'break-out-dwim) +(define-key global-map (kbd "C-c o b") #'break-out-dwim) ;; Powerthesaurus (use-package powerthesaurus