23 lines
937 B
EmacsLisp
23 lines
937 B
EmacsLisp
;;; transient.el --- Configuration for transient. -*- lexical-binding: t; -*-
|
|
;;; Commentary: Taking inspiration from prefix keys and prefix arguments,
|
|
;;; Transient implements a similar abstraction involving a prefix command, infix arguments and suffix commands
|
|
;;; Code: https://github.com/magit/transient
|
|
|
|
(use-package transient
|
|
:ensure nil
|
|
:config
|
|
;; Using `validate-setq' here will cause loading to file if the
|
|
;; history file does not exist.
|
|
(setq
|
|
;; Location of transient files.
|
|
transient-history-file (path-join *user-cache-directory* "transient" "history.el")
|
|
transient-values-file (path-join *user-cache-directory* "transient" "values.el")
|
|
transient-levels-file (path-join *user-cache-directory* "transient" "levels.el"))
|
|
|
|
;; Create the transient cache folder.
|
|
(make-directory (path-join *user-cache-directory* "transient") t))
|
|
|
|
|
|
(provide 'utilities/transient)
|
|
;;; transient.el ends here
|