[Top][All Lists]

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

[elpa] externals/ivy-posframe 26e3a64 034/195: ivy-posframe: add ivy-pos

From: Feng Shu
Subject: [elpa] externals/ivy-posframe 26e3a64 034/195: ivy-posframe: add ivy-posframe-avy
Date: Sat, 3 Oct 2020 07:11:40 -0400 (EDT)

branch: externals/ivy-posframe
commit 26e3a64c60eab2239db1f09dcbe951c690f4b24e
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>

    ivy-posframe: add ivy-posframe-avy
    ivy-avy is not supported by ivy-posframe at the moment.
 ivy-posframe.el | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/ivy-posframe.el b/ivy-posframe.el
index 4ca9fb9..701d86b 100644
--- a/ivy-posframe.el
+++ b/ivy-posframe.el
@@ -213,7 +213,8 @@ This variable is useful for `ivy-posframe-read-action' .")
   ;; Re-configure ivy keymap.
   (define-key ivy-minibuffer-map (kbd "C-M-a") 'ivy-posframe-read-action)
-  (define-key ivy-minibuffer-map (kbd "M-o") 'ivy-posframe-dispatching-done))
+  (define-key ivy-minibuffer-map (kbd "M-o") 'ivy-posframe-dispatching-done)
+  (define-key ivy-minibuffer-map (kbd "C-'") 'ivy-posframe-avy))
 (defun ivy-posframe-dispatching-done ()
   "Select one of the available actions and call `ivy-done'."
@@ -261,6 +262,11 @@ selection, non-nil otherwise."
                (setcar actions (1+ action-idx))
                (ivy-set-action actions)))))))
+(defun ivy-posframe-avy ()
+  "Jump to one of the current ivy candidates."
+  (interactive)
+  (message "ivy-posframe: ivy-avy is not supported at the moment."))
 (provide 'ivy-posframe)

reply via email to

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