summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2014-07-03 11:25:31 +0100
committerAlan Pearce2014-07-03 11:25:31 +0100
commit95ac229d595e81e2f3ed1e1504ab7873d72a1f8f (patch)
tree6298a1d92b1e81bd637d16ff847608044c24b63e
parentcc585460a4549937d2b64680c11bdb96e67c8b4b (diff)
downloadnixfiles-95ac229d595e81e2f3ed1e1504ab7873d72a1f8f.tar.lz
nixfiles-95ac229d595e81e2f3ed1e1504ab7873d72a1f8f.tar.zst
nixfiles-95ac229d595e81e2f3ed1e1504ab7873d72a1f8f.zip
Emacs: fix helm keymap errors
-rw-r--r--tag-emacs/emacs.d/init.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index 712a3113..bd617fa9 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -443,11 +443,15 @@
   :config (progn
             (setq helm-idle-delay .1
                   helm-input-idle-delay 0)
+            (helm-mode 1)))
+
+(req-package helm-files
+  :defer t
+  :config (progn
             (define-key helm-read-file-map (kbd "<tab>") #'helm-execute-persistent-action)
             (define-key helm-read-file-map (kbd "TAB") #'helm-execute-persistent-action)
             (define-key helm-read-file-map (kbd "C-i") #'helm-execute-persistent-action)
-            (define-key helm-read-file-map (kbd "C-z") #'helm-select-action)
-            (helm-mode 1)))
+            (define-key helm-read-file-map (kbd "C-z") #'helm-select-action)))
 
 ;;;; Modeline