branch: elpa/evil-goggles
commit 788c73d5056da23a23390576c49fabf63e50104f
Author: Evgeni Kolev <[email protected]>
Commit: Evgeni Kolev <[email protected]>
Make lighter configurable
---
README.md | 10 +++++-----
evil-goggles.el | 8 +++++++-
2 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/README.md b/README.md
index 4d9e542b42..ef15001f32 100644
--- a/README.md
+++ b/README.md
@@ -49,7 +49,7 @@ Installation
`(evil-goggles-mode)`
-## Supported edit actions
+## edit actions with hint
- delete
- yank
@@ -58,11 +58,11 @@ Installation
- join
- format (`gq` operator)
-### evil plugins
+### evil plugins with hint
-- 
-- 
--

+- [evil-surround](https://github.com/timcharper/evil-surround)
+- [evil-commentary](https://github.com/linktohack/evil-commentary)
+-
[evil-ReplaceWithRegister](https://github.com/Dewdrops/evil-ReplaceWithRegister)
Customization
-------------
diff --git a/evil-goggles.el b/evil-goggles.el
index 379d2b6cd3..9f17bc9c00 100644
--- a/evil-goggles.el
+++ b/evil-goggles.el
@@ -121,9 +121,15 @@ displayed while its running."
(funcall-interactively ,fun ,@args)
(funcall ,fun ,@args)))
+(defcustom evil-goggles-lighter
+ " EG"
+ ;; " (⌐■-■)"
+ "String used on the mode-line."
+ :type 'string)
+
(define-minor-mode evil-goggles-mode
"evil-goggles global minor mode."
- :lighter " (⌐■-■)"
+ :lighter evil-goggles-lighter
:global t
(cond
(evil-goggles-mode