branch: externals/ivy-posframe
commit 9db2b75ee905cdb1f02b7bcfe5a0b9a39d9e339f
Author: Feng Shu <[email protected]>
Commit: Feng Shu <[email protected]>
Update README
---
README.md | 21 +++++++++++++--------
ivy-posframe.el | 6 ++++++
snapshots/ivy-posframe3.gif | Bin 0 -> 111745 bytes
3 files changed, 19 insertions(+), 8 deletions(-)
diff --git a/README.md b/README.md
index 6278036..2f72949 100644
--- a/README.md
+++ b/README.md
@@ -1,18 +1,18 @@
# 目录
-1. [ivy-posframe README](#org56f4250)
- 1. [What is ivy-posframe](#orge48b949)
- 2. [How to enable ivy-posframe](#orgf9d7738)
- 3. [How to set the style of ivy-posframe](#org3923198)
+1. [ivy-posframe README](#orgeae4edc)
+ 1. [What is ivy-posframe](#org16b85a0)
+ 2. [How to enable ivy-posframe](#org6f59c0a)
+ 3. [How to set the style of ivy-posframe](#orge1fc1e0)
-<a id="org56f4250"></a>
+<a id="orgeae4edc"></a>
# ivy-posframe README
-<a id="orge48b949"></a>
+<a id="org16b85a0"></a>
## What is ivy-posframe
@@ -20,7 +20,7 @@ ivy-posframe is a ivy extension, which let ivy use posframe
to show its candidate menu.
-<a id="orgf9d7738"></a>
+<a id="org6f59c0a"></a>
## How to enable ivy-posframe
@@ -38,7 +38,7 @@ to show its candidate menu.
(push '(t . ivy-posframe-display) ivy-display-functions-alist)
-<a id="org3923198"></a>
+<a id="orge1fc1e0"></a>
## How to set the style of ivy-posframe
@@ -52,6 +52,11 @@ to show its candidate menu.
(setq ivy-posframe-style 'window-center)

+3. Point style
+
+ (setq ivy-posframe-style 'point)
+
+ 
diff --git a/ivy-posframe.el b/ivy-posframe.el
index f3c69ae..91e4191 100644
--- a/ivy-posframe.el
+++ b/ivy-posframe.el
@@ -60,6 +60,12 @@
;; (setq ivy-posframe-style 'window-center)
;; #+END_EXAMPLE
;; [[./snapshots/ivy-posframe2.gif]]
+;; 3. Point style
+;; #+BEGIN_EXAMPLE
+;; (setq ivy-posframe-style 'point)
+;; #+END_EXAMPLE
+;; [[./snapshots/ivy-posframe3.gif]]
+
;;; Code:
;; * ivy-posframe's code
diff --git a/snapshots/ivy-posframe3.gif b/snapshots/ivy-posframe3.gif
new file mode 100644
index 0000000..270838c
Binary files /dev/null and b/snapshots/ivy-posframe3.gif differ