emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 49acd4c 242/348: Remap scroll-up/down-command instead of a


From: Oleh Krehel
Subject: [elpa] master 49acd4c 242/348: Remap scroll-up/down-command instead of assigning C-v/M-v so page up/down works
Date: Sat, 8 Apr 2017 11:04:06 -0400 (EDT)

branch: master
commit 49acd4c0137f0fcfd1ea38b4871572f60fac3f39
Author: Michael Olson <address@hidden>
Commit: Oleh Krehel <address@hidden>

    Remap scroll-up/down-command instead of assigning C-v/M-v so page up/down 
works
    
    Fixes #797
    Fixes #798
---
 ivy.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ivy.el b/ivy.el
index 385a891..6ff0fe8 100644
--- a/ivy.el
+++ b/ivy.el
@@ -283,8 +283,8 @@ action functions.")
     (define-key map (kbd "M-n") 'ivy-next-history-element)
     (define-key map (kbd "M-p") 'ivy-previous-history-element)
     (define-key map (kbd "C-g") 'minibuffer-keyboard-quit)
-    (define-key map (kbd "C-v") 'ivy-scroll-up-command)
-    (define-key map (kbd "M-v") 'ivy-scroll-down-command)
+    (define-key map [remap scroll-up-command] 'ivy-scroll-up-command)
+    (define-key map [remap scroll-down-command] 'ivy-scroll-down-command)
     (define-key map (kbd "C-M-n") 'ivy-next-line-and-call)
     (define-key map (kbd "C-M-p") 'ivy-previous-line-and-call)
     (define-key map (kbd "M-r") 'ivy-toggle-regexp-quote)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]