home

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

commit 20e8bf0866b62a7987163f650776a93cd2a34478
parent f39102e483aafc4d0996d6fca425086f63852622
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Wed,  8 Apr 2020 17:42:50 +0200

config-files.el: re-enable files, direnv, hardhat, …

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

Diffstat:
Mtools/emacs/config/config-files.el | 25+++++++++++++++++--------
1 file changed, 17 insertions(+), 8 deletions(-)

diff --git a/tools/emacs/config/config-files.el b/tools/emacs/config/config-files.el @@ -1,27 +1,35 @@ -;;; -*- lexical-binding: t; -*- -(use-package files - :disabled - :bind (("<f5>" . revert-buffer))) +;;; config-files.el --- -*- lexical-binding: t; -*- +;;; Commentary: +;;; Files related configurations +;;; Code: -(setq-default view-read-only t) ; View read-only +;; UseFiles +(use-package files + :commands (revert-buffer) + :bind (("<f5>" . revert-buffer)) + :config + (setq-default view-read-only t)) +;; -UseFiles +;; UseDirenv (use-package direnv - :disabled :config (setq-default direnv-always-show-summary t direnv-show-paths-in-summary nil) (direnv-mode)) +;; -UseDirenv +;; UseHardHat (use-package hardhat - :disabled :init (global-hardhat-mode)) +;; -UseHardhat (use-package image-file :disabled :init (auto-image-file-mode)) (use-package highlight-indentation - :disabled + :commands (highlight-indentation-mode highlight-indentation-current-column-mode) :config (set-face-background 'highlight-indentation-face "#e3e3d3") (set-face-background 'highlight-indentation-current-column-face "#c3b3b3")) @@ -77,3 +85,4 @@ (bind-key "C-c f v r" #'vde/reload-dir-locals-for-all-buffers-in-this-directory) (provide 'setup-files) +;;; config-files.el ends here