[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/evil-goggles 0f6254f548 070/225: Update README.md
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/evil-goggles 0f6254f548 070/225: Update README.md |
Date: |
Wed, 12 Jan 2022 08:58:45 -0500 (EST) |
branch: elpa/evil-goggles
commit 0f6254f5480767056a5ad5b4f27c1272d3c3124c
Author: Evgeni Kolev <evgenysw@gmail.com>
Commit: Evgeni Kolev <evgenysw@gmail.com>
Update README.md
---
README.md | 69 ++++++++++++++++++++++++++++++++++++++++-----------------------
1 file changed, 44 insertions(+), 25 deletions(-)
diff --git a/README.md b/README.md
index deb129e969..7c8342f27d 100644
--- a/README.md
+++ b/README.md
@@ -1,10 +1,14 @@
[![Build
Status](https://travis-ci.org/edkolev/evil-goggles.svg?branch=master)](https://travis-ci.org/edkolev/evil-goggles)
+[![MELPA](https://melpa.org/packages/evil-goggles-badge.svg)](https://melpa.org/#/evil-goggles)
evil-goggles
-=========
+============
+
+![evil-goggles](https://cloud.githubusercontent.com/assets/1532071/26526401/2d10961e-4382-11e7-8c40-5b7fb3a79756.jpg)
`evil-goggles-mode` displays a visual hint when editing with
[evil](https://github.com/emacs-evil/evil).
+## Preview
![yank-paste-delete](https://cloud.githubusercontent.com/assets/1532071/25412512/ece4e108-29d7-11e7-90ba-834923c05a02.gif)
@@ -20,9 +24,7 @@ evil-goggles
![fast-replace](https://cloud.githubusercontent.com/assets/1532071/25314628/889ab1c4-2850-11e7-9cf5-c801b8293583.gif)
-
-Installation
-------------
+## Installation
#### with [use-package](https://github.com/jwiegley/use-package) from
[Melpa](https://melpa.org)
``` emacs-lisp
@@ -31,9 +33,11 @@ Installation
:config
(evil-goggles-mode)
- ;; optionally use diff-mode's faces so, for example,
- ;; deleted text will be highlighed with red color (as defined by the color
theme)
- ;; (evil-goggles-use-diff-faces)
+ ;; optionally use diff-mode's faces; as a result, deleted text
+ ;; will be highlighed with `diff-removed` face which is typically
+ ;; some red color (as defined by the color theme)
+ ;; other faces such as `diff-added` will be used for other actions
+ (evil-goggles-use-diff-faces)
)
```
@@ -61,15 +65,20 @@ Installation
- commentary [evil-commentary](https://github.com/linktohack/evil-commentary)
- replace with register
[evil-ReplaceWithRegister](https://github.com/Dewdrops/evil-ReplaceWithRegister)
-Customization
--------------
+## Customizations
+
+#### Appearance Customization
-- The appearance of the default overlay can be configured with
`evil-goggles-default-face`. By default, the `region` face is used for every
action. To get a list of available faces on emacs start, start a fresh emacs
and run `M-x list-faces-display`.
+By default, all goggles' faces inherit `evil-goggles-default-face`, which in
turn inherits emacs' `region` face.
+
+- To change the default face:
```emacs-lisp
;; default is 'region, you can try 'isearch-fail
+;; to get a list of available faces on your emacs, run `M-x list-faces-display`
(custom-set-faces
'(evil-goggles-default-face ((t (:inherit 'isearch-fail)))))
```
+
- To use different faces per edit action:
```emacs-lisp
(require 'diff-mode) ;; load diff-* faces
@@ -77,21 +86,26 @@ Customization
'(evil-goggles-delete-face ((t (:inherit 'diff-removed))))
'(evil-goggles-paste-face ((t (:inherit 'diff-added))))
'(evil-goggles-yank-face ((t (:inherit 'diff-changed))))))
-
-;; list of all evil-goggles-* faces:
-;;
-;; evil-goggles-delete-face
-;; evil-goggles-indent-face
-;; evil-goggles-yank-face
-;; evil-goggles-join-face
-;; evil-goggles-fill-and-move-face
-;; evil-goggles-paste-face
-;; evil-goggles-shift-face
-;; evil-goggles-surround-face
-;; evil-goggles-commentary-face
-;; evil-goggles-replace-with-register-face
```
+- This package defines the following faces:
+```
+evil-goggles-default-face - inherits from `region` by default
+
+evil-goggles-delete-face - this, and the others below, inherit from
`evil-goggles-default-face`
+evil-goggles-indent-face
+evil-goggles-yank-face
+evil-goggles-join-face
+evil-goggles-fill-and-move-face
+evil-goggles-paste-face
+evil-goggles-shift-face
+evil-goggles-surround-face
+evil-goggles-commentary-face
+evil-goggles-replace-with-register-face
+```
+
+#### Other Customizations
+
- The duration of the overlay is configured with `evil-goggles-duration`:
```emacs-lisp
(setq evil-goggles-duration 0.100) ;; default is 0.200
@@ -99,10 +113,10 @@ Customization
- To disable the hint on certain actions
```emacs-lisp
-;; to disable the hint when yanking or deleting
+;; to disable the hint when pasting:
(setq evil-goggles-enabe-paste nil)
-;; list of all on/off variables:
+;; list of all on/off variables, their default value is `t`:
;;
;; evil-goggles-enable-delete
;; evil-goggles-enable-indent
@@ -115,3 +129,8 @@ Customization
;; evil-goggles-enable-commentary
;; evil-goggles-enable-replace-with-register
```
+
+## Recent Significant Changes
+
+- [May 28, 2017] Switched to using custom faces per action, deprecate
`evil-goggles-faces-alist`
+- [May 28, 2017] Switched to using per-action on/off custom variables,
deprecate `evil-goggles-blacklist`
- [nongnu] elpa/evil-goggles dd76fd3d28 019/225: Make sure the overlay is cleaned-up, (continued)
- [nongnu] elpa/evil-goggles dd76fd3d28 019/225: Make sure the overlay is cleaned-up, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 1014993453 028/225: Add custom variable evil-goggles-blacklist to allow disabling individual functions, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles f29820fe98 029/225: Detect only `evil-inhibit-operator-value` into account, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 9882706667 030/225: Preserve the return value of evil-paste-*, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 253613ce66 039/225: Fix check of evil-last-paste, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 788c73d505 041/225: Make lighter configurable, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 97498ef1ba 050/225: Clarify package should be on Melpa, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles bf6f836609 056/225: Update README.md, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 10512f5b3b 054/225: Check evil-mode is on with bound-and-true-p, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles ae77a5c6f0 067/225: Replace the boilerplate in evil-goggles-faces.el with a macro, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 0f6254f548 070/225: Update README.md,
ELPA Syncer <=
- [nongnu] elpa/evil-goggles 902270eea8 084/225: Show a vertical visual hint for vertical text objects., ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 879114abea 085/225: Don't show the overlay when evil-mc is displaying multiple fake cursors, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 0c713e7462 086/225: Add experimental support for undo/redo, off by default, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles fec8dfd7b5 088/225: Simplify undo/redo checks, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles fd85719817 089/225: Improve doc strings, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 0585f4d657 097/225: Try to avoid Travis seg-faults by running emacs in batch mode, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 142e0a9f2b 105/225: Remove unused option, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles ee7fafb858 107/225: Remove debugs, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 5404dcfaf8 106/225: Don't quote inherited faces so face-background works, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 13fd7e348c 110/225: Disable pulsing by default, ELPA Syncer, 2022/01/12