branch: master
commit 14f15a0b1ddf1a30c813a8cf614e0a13f2361c11
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>

    ivy.el: Promote "C-d" from ivy-occur-grep-mode to ivy-occur-mode
---
 ivy.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ivy.el b/ivy.el
index 0ee8e3f..7d36f24 100644
--- a/ivy.el
+++ b/ivy.el
@@ -3761,6 +3761,7 @@ buffer would modify `ivy-last'.")
     (define-key map (kbd "c") 'ivy-occur-toggle-calling)
     (define-key map (kbd "q") 'quit-window)
     (define-key map (kbd "R") 'read-only-mode)
+    (define-key map (kbd "C-d") 'ivy-occur-delete-candidate)
     map)
   "Keymap for Ivy Occur mode.")
 
@@ -3799,7 +3800,6 @@ When `ivy-calling' isn't nil, call `ivy-occur-press'."
 (defvar ivy-occur-grep-mode-map
   (let ((map (copy-keymap ivy-occur-mode-map)))
     (define-key map (kbd "C-x C-q") 'ivy-wgrep-change-to-wgrep-mode)
-    (define-key map (kbd "C-d") 'ivy-occur-delete-candidate)
     map)
   "Keymap for Ivy Occur Grep mode.")
 

Reply via email to