branch: master
commit 9bbf9f9b5b1fe3fe88f30a1fc57ef21e22bcc2d7
Author: Oleh Krehel <ohwoeo...@gmail.com>
Commit: Oleh Krehel <ohwoeo...@gmail.com>

    Fixup the last two commits
    
    * counsel.el (counsel-find-file): Update.
    
    * ivy.el (ivy--buffer-list): Update.
    
    Re #164
---
 counsel.el |    3 ++-
 ivy.el     |    3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/counsel.el b/counsel.el
index 8ba4457..1652b20 100644
--- a/counsel.el
+++ b/counsel.el
@@ -351,7 +351,8 @@
                          (require 'ffap)
                          (ffap-guesser))
             :require-match 'confirm-after-completion
-            :history 'file-name-history))
+            :history 'file-name-history
+            :keymap counsel-find-file-map))
 
 (defcustom counsel-find-file-ignore-regexp nil
   "A regexp of files to ignore while in `counsel-find-file'.
diff --git a/ivy.el b/ivy.el
index 2087287..6ecfb4b 100644
--- a/ivy.el
+++ b/ivy.el
@@ -1430,7 +1430,8 @@ BUFFER may be a string or nil."
       (call-interactively 'switch-to-buffer)
     (ivy-read "Switch to buffer: " 'internal-complete-buffer
               :preselect (buffer-name (other-buffer (current-buffer)))
-              :action #'ivy--switch-buffer-action)))
+              :action #'ivy--switch-buffer-action
+              :keymap ivy-switch-buffer-map)))
 
 (defun ivy-recentf ()
   "Find a file on `recentf-list'."

Reply via email to