refactor: Begin moving package configuration to use-package
This is the first in a series of commits for refactoring my configuration to make use of jwiegley's use-package. In the previous layout of the configuration there were some questions around what settings go into which file, but in the end it is all just related to which packages are being configured (besides settings related to global Emacs behaviour). This commit introduces use-package forms for all currently used packages (which are still installed via Nix, not via package.el) but does not yet clean up the rest of the configuration in a suitable way. Note that this version introduces a bug in which the configuration of telephone line is not correctly initialised after package setup.
This commit is contained in:
parent
f0dfc8b06d
commit
4fe8d78dbb
10 changed files with 218 additions and 216 deletions
|
|
@ -1,7 +1,6 @@
|
|||
(require 'prescient)
|
||||
(require 'ivy-prescient)
|
||||
(require 'uniquify)
|
||||
(require 'password-store)
|
||||
(require 'ivy-pass)
|
||||
|
||||
;; Make ivy go!
|
||||
|
|
@ -63,20 +62,4 @@
|
|||
;; Show time in 24h format
|
||||
(setq display-time-24hr-format t)
|
||||
|
||||
;; Make ace-window behave in a sane way:
|
||||
(setq aw-keys '(?f ?j ?d ?k ?s ?l ?a)) ; Homerow keys in sensible order!
|
||||
(setq aw-scope 'frame) ; There are many frames in exwm, I don't care!
|
||||
|
||||
;; Configure pinentry for use with GPG
|
||||
(setq epa-pinentry-mode 'loopback)
|
||||
(pinentry-start)
|
||||
|
||||
;; Configure password-store as an auth-source
|
||||
;; (this requires emacs 26)
|
||||
(require 'auth-source-pass)
|
||||
(auth-source-pass-enable)
|
||||
|
||||
;; Configure magit-repository-list
|
||||
(setq magit-repository-directories '(("/home/vincent/projects" . 2)))
|
||||
|
||||
(provide 'settings)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue