aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config/emacs
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2020-08-15 00:02:46 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2020-08-15 00:03:00 +0100
commit3a8b8605690abe4dad0d5203c452dc613f30ee9f (patch)
tree5f551028be0b365dc9e751d958850c990718f333 /Emacs/.config/emacs
parente8e4ba509cf9c74eef0da55ed45c9703f618e0e8 (diff)
downloaddotfiles-3a8b8605690abe4dad0d5203c452dc613f30ee9f.tar.gz
dotfiles-3a8b8605690abe4dad0d5203c452dc613f30ee9f.tar.bz2
dotfiles-3a8b8605690abe4dad0d5203c452dc613f30ee9f.zip
~:bind to :general for ivy
Diffstat (limited to 'Emacs/.config/emacs')
-rw-r--r--Emacs/.config/emacs/config.org17
1 files changed, 9 insertions, 8 deletions
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