Compare commits
2 commits
044360e2b7
...
7ff4e55ffd
Author | SHA1 | Date | |
---|---|---|---|
|
7ff4e55ffd | ||
|
97f9e119ad |
3 changed files with 51 additions and 3 deletions
31
userland/calendar-custom.el
Normal file
31
userland/calendar-custom.el
Normal file
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
|
||||||
|
;;; Commentary:
|
||||||
|
|
||||||
|
;; commentary
|
||||||
|
|
||||||
|
;;; Code:
|
||||||
|
|
||||||
|
(require 'calendar)
|
||||||
|
|
||||||
|
(setq calendar-mark-holidays-flag t)
|
||||||
|
|
||||||
|
(provide 'calendar-custom)
|
||||||
|
|
||||||
|
;;; calendar-custom.el ends here
|
|
@ -22,6 +22,8 @@
|
||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
|
(require 'transient)
|
||||||
|
|
||||||
(defcustom theurgy-enable-vterm-windows nil
|
(defcustom theurgy-enable-vterm-windows nil
|
||||||
"Whether `vterm' should be enabled on Windows sytems."
|
"Whether `vterm' should be enabled on Windows sytems."
|
||||||
:type 'boolean
|
:type 'boolean
|
||||||
|
@ -83,6 +85,21 @@
|
||||||
(slot . 0)
|
(slot . 0)
|
||||||
(window-height . 0.2)))
|
(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)
|
(provide 'terminal)
|
||||||
|
|
||||||
;;; terminal.el ends here
|
;;; terminal.el ends here
|
||||||
|
|
|
@ -252,7 +252,7 @@
|
||||||
("p" "Paragraph" mark-paragraph)
|
("p" "Paragraph" mark-paragraph)
|
||||||
("b" "Buffer" mark-whole-buffer)])
|
("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
|
;; Section navigation and reordering
|
||||||
(defun move-sentence-right (&optional arg)
|
(defun move-sentence-right (&optional arg)
|
||||||
|
@ -322,7 +322,7 @@
|
||||||
["Move paragraph..." ("u" "Up" move-paragraph-up)
|
["Move paragraph..." ("u" "Up" move-paragraph-up)
|
||||||
("d" "Down" move-paragraph-down)])
|
("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
|
;; Focused rewriting
|
||||||
(defun break-out-sentence ()
|
(defun break-out-sentence ()
|
||||||
|
@ -350,7 +350,7 @@
|
||||||
(break-out-choose-sentence)
|
(break-out-choose-sentence)
|
||||||
(break-out-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
|
;; Powerthesaurus
|
||||||
(use-package powerthesaurus
|
(use-package powerthesaurus
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue