First version of use-package

This commit is contained in:
Maciej 2019-07-16 21:04:35 +03:00
parent 42ff73fdd7
commit fca83b0b97
Signed by: maciej
GPG key ID: 41D62D42D3B0D765
15 changed files with 214 additions and 197 deletions

View file

@ -111,12 +111,12 @@
;;;;;;;;;;;;;;;;;;;;;; Shell stuff ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)
;; Add pgp binary
(add-to-list 'exec-path "/usr/local/bin")
; Use Shells variables
(when (memq window-system '(mac ns))
(exec-path-from-shell-initialize))
;; Allow to execute path from shell
(use-package exec-path-from-shell
:if (memq window-system '(mac ns))
:ensure t
:config (add-to-list 'exec-path "/usr/local/bin")
(exec-path-from-shell-initialize))
;;;;;;;;;;;;;;;;;;;;;; Font configuration ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
@ -145,6 +145,9 @@
(scroll-bar-mode -1)
;;;;;;;;;;;;;;;;; Record frequency of different commands. Review them later
(require 'keyfreq)
(keyfreq-mode 1)
(keyfreq-autosave-mode 1)
(use-package keyfreq
:defer t
:ensure t)
(keyfreq-mode t)
(keyfreq-autosave-mode t)