[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/evil-goggles dc4ce17b65 013/225: Add license header
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/evil-goggles dc4ce17b65 013/225: Add license header |
Date: |
Wed, 12 Jan 2022 08:58:38 -0500 (EST) |
branch: elpa/evil-goggles
commit dc4ce17b65d89906050a7110cfd683823ebe2585
Author: Evgeni Kolev <evgenysw@gmail.com>
Commit: Evgeni Kolev <evgenysw@gmail.com>
Add license header
---
evil-goggles.el | 69 ++++++++++++++++++++++++++++++++++-----------------------
1 file changed, 41 insertions(+), 28 deletions(-)
diff --git a/evil-goggles.el b/evil-goggles.el
index d1f7ccb1b9..d6f1f904dd 100644
--- a/evil-goggles.el
+++ b/evil-goggles.el
@@ -1,25 +1,39 @@
-;; goals:
-;; - delete with strikethrough preview
-;; - yank with 'region' previw
-;; - indent with 'underline' preview
-;; next goals:
-;; - one (advice) for all cases
-;; - make the above configurable
-;; next goals:
-;; - configurable integration with plugins: evil-surround, evil-lion
-;; - '.' repeat with goggles
-;; next goals:
-;; - ex commands: evil-copy, evil-move
-
-;; implementation:
-;; - advise evil-delete, after
-;; - if (and called interactively, not visual state, not insert state, goggles
off, more than one char in region)
-;; - set goggles on
-;; - show goggles
-;; - call orig-fun
-;; - set gogges off
-;; - else
-;; - call (interactively?) orig-fun
+;;; evil-goggles.el --- Add a visual hint to evil operations -*-
lexical-binding: t; coding: utf-8 -*-
+
+;; Copyright (C) 2017 edkolev
+
+;; Author: edkolev <evgenysw@gmail.com>
+;; URL: http://github.com/edkolev/evil-goggles
+;; Package-Requires: ((emacs "24") (evil "1.0.0"))
+;; Version: 0.0.1
+;; Keywords: emulations, evil, vim, visual
+
+;; This file is NOT part of GNU Emacs.
+
+;;; License:
+;;
+;; This program is free software: you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+;;
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+;;
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+;;
+;; Add a visual hint to evil operations
+;;
+;; Usage:
+;;
+;; (evil-goggles-mode)
+;;
+;;; Code:
(defvar evil-goggles--on nil)
(defvar evil-goggles-show-for 0.200) ;; .100 or .200 seem best
@@ -146,12 +160,11 @@
(maphash (lambda (advised-fun advice-fun) (advice-remove advised-fun
advice-fun)) evil-goggles--hooks))
;; default advice-d core evil functions
-(evil-goggles--advice-add 'evil-delete
'evil-goggles--evil-delete-advice)
-(evil-goggles--advice-add 'evil-indent
'evil-goggles--evil-indent-advice)
-(evil-goggles--advice-add 'evil-yank
'evil-goggles--evil-yank-advice)
-(evil-goggles--advice-add 'evil-join
'evil-goggles--evil-join-advice)
-(evil-goggles--advice-add 'evil-join-whitespace
'evil-goggles--evil-join-advice)
-(evil-goggles--advice-add 'evil-surround-region
'evil-goggles--evil-surround-region)
+(evil-goggles--advice-add 'evil-delete
'evil-goggles--evil-delete-advice)
+(evil-goggles--advice-add 'evil-indent
'evil-goggles--evil-indent-advice)
+(evil-goggles--advice-add 'evil-yank
'evil-goggles--evil-yank-advice)
+(evil-goggles--advice-add 'evil-join
'evil-goggles--evil-join-advice)
+(evil-goggles--advice-add 'evil-join-whitespace
'evil-goggles--evil-join-advice)
(evil-goggles--advice-add 'evil-surround-region
'evil-goggles--evil-surround-region-advice)
(evil-goggles--advice-add 'evil-commentary
'evil-goggles--evil-commentary-advice)
(evil-goggles--advice-add 'evil-replace-with-register
'evil-goggles--evil-replace-with-register-advice)
- [nongnu] elpa/evil-goggles c1df77a548 079/225: Add "checkdoc" make target, (continued)
- [nongnu] elpa/evil-goggles c1df77a548 079/225: Add "checkdoc" make target, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 2117f62dff 087/225: Alternative implementation for undo/redo, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 6ab09a09c7 093/225: Don't use `caadr`, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles d274e1572c 096/225: Make Travis run all of evil's tests under (evil-goggles-mode), ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 513ba2eb3e 094/225: Polish u/redo implementation to handle u/redo after "o"/"O", ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles cbcad38344 021/225: Cleanup code, add some doc strings, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 3dc8417950 040/225: Add evil-fill-and-move "=", ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles bc4a117f6c 059/225: Rename evil-goggles-face to evil-goggles-default-face, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 02a8072435 011/225: Use evil faces for delete and yank, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles a4958cf377 012/225: Add evil-commentary and evil-replace-with-register, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles dc4ce17b65 013/225: Add license header,
ELPA Syncer <=
- [nongnu] elpa/evil-goggles 8d6fc41234 023/225: Doc strings, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 743fd1d96d 027/225: Indent tweak, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 805e20dcde 022/225: Don't show overlay when :global or :vglobal is executed, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles ac3b272cdb 031/225: Reduce byte compiler errors, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles dd9a888516 032/225: Test infrastructure, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 412ed4ce79 035/225: Initial README, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles fd417360a2 038/225: Update README.md, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 6e4d0fab3c 047/225: Add missing :group to custom variable, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles d759e22ba3 062/225: Re-add support for yank, join, commentary, surround, replace with register, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 336f6038a3 066/225: Don't inherit diff-mode's faces by default, ELPA Syncer, 2022/01/12