From 187787af513d2143fb8109eafd68941a1a616d3d Mon Sep 17 00:00:00 2001 From: Thomas Schneider Date: Fri, 29 Mar 2019 01:51:30 +0100 Subject: Emacs: Bind keymaps as such --- dot.emacs.d/init.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'dot.emacs.d') diff --git a/dot.emacs.d/init.el b/dot.emacs.d/init.el index b44cf31..dd12fbf 100644 --- a/dot.emacs.d/init.el +++ b/dot.emacs.d/init.el @@ -55,8 +55,7 @@ (use-package projectile :config (projectile-mode 1) - :bind (:map projectile-mode-map - ("C-c p" . #'projectile-command-map))) + :bind-keymap ("C-c p" . projectile-command-map)) (use-package ace-window :bind ("M-o" . ace-window)) @@ -67,13 +66,14 @@ ("C-," . avy-goto-line))) (use-package helm-config - :bind ("C-c h" . #'helm-command-prefix)) + :bind-keymap ("C-c h" . helm-command-prefix) + :bind (:map helm-command-map + ("o" . #'helm-occur))) (use-package helm :bind (("M-x" . #'helm-M-x) ("M-y" . #'helm-show-kill-ring) ("C-x b" . #'helm-mini) ("C-x C-f" . #'helm-find-files) - ("C-c h o" . #'helm-occur) ("C-h SPC" . #'helm-all-mark-rings)) :config (helm-mode 1) -- cgit v1.2.3