*** Magit
# TODO: Write a command that commits hunk, skipping staging step.
#+begin_src emacs-lisp
- (use-package magit
- :hook (magit-mode-hook. pinentry-start))
+ (use-package magit)
#+end_src
*** Colored diff in line number area
#+begin_src emacs-lisp
** GPG
#+begin_src emacs-lisp
(use-package epa-file
- :straight (:type built-in))
- (setq epa-file-select-keys nil
- epa-file-encrypt-to '("me@armaanb.net")
- password-cache-expiry (* 60 15))
+ :straight (:type built-in)
+ :custom
+ (epa-file-select-keys nil)
+ (epa-file-encrypt-to '("me@armaanb.net"))
+ (password-cache-expiry (* 60 15)))
- (use-package pinentry)
+ (use-package pinentry
+ :config (pinentry-start))
#+end_src
** Pastebin
#+begin_src emacs-lisp