Transient manu for system interaction and make text modification transient global

This commit is contained in:
Jakub 2025-09-26 18:19:19 +08:00
parent 044360e2b7
commit 97f9e119ad
2 changed files with 20 additions and 3 deletions

View file

@ -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