From 5a08d8a96f9cc1983076028f24a1c418eb16b1dd Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 8 Apr 2018 17:08:28 -0700 Subject: [emacs] Fix (I think) the binding for hydra --- emacs.d/modules/module-json.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'emacs.d/modules/module-json.el') diff --git a/emacs.d/modules/module-json.el b/emacs.d/modules/module-json.el index 40f46e5..279efb5 100644 --- a/emacs.d/modules/module-json.el +++ b/emacs.d/modules/module-json.el @@ -2,9 +2,12 @@ (use-package json-mode :mode "\\.json\\'" + :config (setq json-reformat:indent-width 2) - :bind ("C-z" . hydra-json/body)) + + :bind (:map json-mode-map + ("C-z" . hydra-json/body))) (defhydra hydra-json (:hint nil :exit t) " -- cgit 1.4.1