From 3a8b8605690abe4dad0d5203c452dc613f30ee9f Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Sat, 15 Aug 2020 00:02:46 +0100 Subject: ~:bind to :general for ivy --- Emacs/.config/emacs/config.org | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'Emacs') diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index f9e7cd6..f5b2ea0 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -278,15 +278,16 @@ selection list). Also setup evil-collection for ivy. (use-package ivy :hook (after-init . ivy-mode) :after evil-collection - :bind (:map ivy-minibuffer-map - ("M-j" . ivy-next-line-or-history) - ("M-k" . ivy-previous-line-or-history) - :map ivy-switch-buffer-map - ("M-j" . ivy-next-line-or-history) - ("M-k" . ivy-previous-line-or-history)) :general - (:keymaps 'ivy-minibuffer-map - "C-c C-e" #'ivy-occur) + (general-def + :keymaps 'ivy-minibuffer-map + "M-j" #'ivy-next-line-or-history + "M-k" #'ivy-previous-line-or-history + "C-c C-e" #'ivy-occur) + (general-def + :keymaps 'ivy-switch-buffer-map + "M-j" #'ivy-next-line-or-history + "M-k" #'ivy-previous-line-or-history) :config (require 'counsel nil t) (setq ivy-height 10 -- cgit v1.2.3-13-gbd6f