[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/evil-goggles 87949d4c7e 147/225: Update README
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/evil-goggles 87949d4c7e 147/225: Update README |
Date: |
Wed, 12 Jan 2022 08:59:04 -0500 (EST) |
branch: elpa/evil-goggles
commit 87949d4c7eb1ffb2644e1d5ddfa7a252fbd77f8f
Author: Evgeni Kolev <evgenysw@gmail.com>
Commit: Evgeni Kolev <evgenysw@gmail.com>
Update README
---
README.md | 19 +++++++++++++++++++
evil-goggles.el | 3 +--
2 files changed, 20 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 5bff70cd40..856ede580d 100644
--- a/README.md
+++ b/README.md
@@ -27,6 +27,11 @@ evil-goggles
![fast-replace](https://cloud.githubusercontent.com/assets/1532071/25314628/889ab1c4-2850-11e7-9cf5-c801b8293583.gif)
+## Usage
+
+Enable `(evil-goggles-mode)`, then edit text like you normally would,
+try for example `yy`, `p` `dd` in normal state.
+
## Installation
#### with [use-package](https://github.com/jwiegley/use-package) from
[Melpa](https://melpa.org)
@@ -125,6 +130,20 @@ evil-goggles-undo-redo-change-face
(setq evil-goggles-duration 0.100) ;; default is 0.200
```
+- For more fine grained duration configuration, these can be modified:
+
+``` emacs-lisp
+;; this variable affects "blocking" hints, for example when deleting - the
hint is displayed,
+the deletion is delayed (blocked) until the hint disappers, then the hint is
removed and the
+deletion executed; it makes sense to have this duration short
+(setq evil-goggles-blocking-duration 0.100) ;; default is nil, i.e. use
`evil-goggles-duration' which defaults to 0.200
+
+;; this variable affects "async" hints, for example when indenting - the
indentation
+is performed with the hint visible, i.e. the hint is displayed, the action
(indent) is
+executed (asynchronous), then the hint is removed, highlighting the result of
the indentation
+(setq evil-goggles-async-duration 0.900) ;; default is nil, i.e. use
`evil-goggles-duration' which defaults to 0.200
+```
+
- To disable the hint on certain actions modify these variable before
`evil-goggles-mode` is started:
```emacs-lisp
;; to disable the hint when pasting:
diff --git a/evil-goggles.el b/evil-goggles.el
index 2fb2355be5..a38155bbec 100644
--- a/evil-goggles.el
+++ b/evil-goggles.el
@@ -189,8 +189,7 @@ The overlay is pulsed if variable `evil-goggles-pulse' is
t."
If hint is visible, check it's ok to display it from BEG to END. If
it's not, do BODY1, else BODY2."
- ;; TODO indent like `if'
- (declare (indent 3) (debug t))
+ (declare (indent 3) (debug t)) ;; TODO indent like `if'
`(if (and (not evil-goggles--on) (evil-goggles--show-p ,beg ,end))
(let ((evil-goggles--on t))
,@body2)
- [nongnu] elpa/evil-goggles 79a25e4da1 163/225: make compile: use dolist instead of mapc, (continued)
- [nongnu] elpa/evil-goggles 79a25e4da1 163/225: make compile: use dolist instead of mapc, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 79a2f620bf 190/225: Implement yank, delete, indent & change with a :before advice, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 057378b54f 203/225: Add paste hint, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 0a96a8fb43 212/225: Show paste hint after `C-n' and `C-p', ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles ea5ab4012a 217/225: Fix parentheses nesting, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 61d3c1e3d9 222/225: Switch to makel.mk, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 08a22058fd 223/225: Remove evil-tests.el workaround, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 82c14bc058 136/225: Don't block when surrounding, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 7f417d8eff 140/225: Improve docs, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles f482c9762d 143/225: Remove unnecessary function, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 87949d4c7e 147/225: Update README,
ELPA Syncer <=
- [nongnu] elpa/evil-goggles 4645be7ac2 150/225: Fix block hint using only the bg of the face, ignoring the fg, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 691bd2ef28 148/225: Make comments compatible with outline, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 546fdafd8f 144/225: Add comment for internal APIs, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles be3acc9142 152/225: Merge branch 'per-action-duration', ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 787b8dcabd 159/225: Fix macro indentation, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 52e77e9a3a 146/225: Simplify customization: remove duration options for each advised command, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 9a1ddbda3e 164/225: Add helper function on inherit from diff-refine-* faces, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles b611a140a2 162/225: Highlight the whole line when pasting a whole line, not just the text, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 690dd7aba3 165/225: Pulse only if the face defines a background, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles d1683b3353 167/225: Pulse if the face inherits a background, ELPA Syncer, 2022/01/12