home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 4ee709225bb852b7580c916f4f7f16871325a3ef
parent 3f2ad48f5d0a0e959d79cab2ef27fc9b6bbd54fe
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Tue, 21 Jul 2020 19:33:27 +0200

tools/emacs: direnv -> envrc

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
M.gitignore | 1+
Mtools/emacs/config/config-files.el | 14+++++++-------
Musers/vincent/dev/emacs.nix | 2+-
3 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/.gitignore b/.gitignore @@ -15,3 +15,4 @@ networking.nix .secrets hardware-configuration.nix /key.bin +/tools/emacs/nix-buffer/ diff --git a/tools/emacs/config/config-files.el b/tools/emacs/config/config-files.el @@ -11,13 +11,13 @@ (setq-default view-read-only t)) ;; -UseFiles -;; UseDirenv -(use-package direnv - :config - (setq-default direnv-always-show-summary t - direnv-show-paths-in-summary nil) - (direnv-mode)) -;; -UseDirenv +(use-package envrc + :defer 2 + :if (executable-find "direnv") + :bind (:map envrc-mode-map + ("C-c d" . envrc-command-map)) + :config (envrc-global-mode)) + ;; UseHardHat (use-package hardhat diff --git a/users/vincent/dev/emacs.nix b/users/vincent/dev/emacs.nix @@ -44,10 +44,10 @@ in dired-narrow dired-quick-sort dired-rsync - direnv dockerfile-mode dumb-jump easy-kill + envrc esh-autosuggest eshell-prompt-extras esup