1
0
Fork 0

refactor(emacs): remove misc.el

Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
Lucas Sta Maria 2024-11-03 18:31:17 -05:00
parent e8bbfc318d
commit 9b862b7d2b
No known key found for this signature in database
GPG key ID: F07FB16A826E3B47
10 changed files with 219 additions and 301 deletions

View file

@ -72,6 +72,14 @@
(display-line-numbers-mode 1)
(setq display-line-numbers t))))
(defun download-file (&optional url filepath)
"Download the file from URL to FILEPATH."
(interactive)
(let* ((url (or url
(read-string "url: ")))
(filepath (or filepath (read-file-name "filename: "))))
(url-copy-file url filepath 1)))
(defvar-keymap priime-fill-map
"f" #'set-fill-column
"i" #'display-fill-column-indicator-mode
@ -120,11 +128,12 @@
;; Misc
(epa-file-encrypt-to '("lucas@priime.dev"))
(epa-file-select-keys 1)
(read-process-output-max (* 4 1024 1024))
:custom-face
(default ((t (:family ,priime-fixed-font :weight medium))))
(region ((t (:inherit nano-subtle :background "#EBE5F5"))))
(italic) ((t (:family inherit :slant italic :weight medium)))
(italic ((t (:family inherit :slant italic :weight medium))))
(lazy-highlight ((t (:inherit region))))
(variable-pitch ((t (:inherit default :family ,priime-variable-font :height 125 :weight regular))))
(fixed-pitch ((t (:family ,priime-fixed-font :height ,priime-fixed-height :inherit nil))))