summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrian Leung <bkleung89@gmail.com>2019-04-04 06:18:21 +0200
committerLudovic Courtès <ludo@gnu.org>2019-04-11 13:46:40 +0200
commit80955ad6340d3bedd5dc02c8ba6c97ebc512ef51 (patch)
tree37331e89c67a3ec2ceb5948d4bd7e566bf800781
parenta99e7f524e5984fc4a696928c02442a1cc400945 (diff)
downloadguix-80955ad6340d3bedd5dc02c8ba6c97ebc512ef51.tar.gz
gnu: Add emacs-evil-visual-replace.
* gnu/packages/emacs-xyz.scm (emacs-evil-visual-replace): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/emacs-xyz.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index afaf1536dd..a6a80d7c46 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -5809,6 +5809,29 @@ pasting into and from @code{tmux} paste buffers.")
 @code{evil-mode}.")
     (license license:gpl3+)))
 
+(define-public emacs-evil-visual-replace
+  (package
+    (name "emacs-evil-visual-replace")
+    (version "0.0.5")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/troyp/evil-visual-replace")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "1gfyrq7xfzmzh3x8k5f08n027dlbwi0pkkxf9c39fkxp4jngibsz"))))
+    (build-system emacs-build-system)
+    (propagated-inputs `(("emacs-evil" ,emacs-evil)))
+    (home-page "https://github.com/troyp/evil-visual-replace")
+    (synopsis "Replacement commands for @code{evil-mode} visual blocks")
+    (description
+     "This package provides versions of @code{query-replace} and
+@code{replace-regexp} that work for @code{evil-mode} visual blocks.")
+    (license license:gpl2+)))
+
 (define-public emacs-monroe
   (package
     (name "emacs-monroe")