branch: externals/ivy-posframe
commit 26e3a64c60eab2239db1f09dcbe951c690f4b24e
Author: Feng Shu <[email protected]>
Commit: Feng Shu <[email protected]>
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' .")
ivy-display-functions-props))))
;; 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)