Commit 08da76fb authored by Sean Whitton's avatar Sean Whitton

patch README for Debian

parent 999a3e4d
......@@ -4,18 +4,16 @@ visual-regexp for Emacs is like `replace-regexp`, but with live visual feedback
While constructing the regexp in the minibuffer, you get live visual feedback for the matches, including group matches:
![entering regexp](https://github.com/benma/visual-regexp.el/raw/master/screenshots/visual-regexp0A.png)
![entering regexp](visual-regexp0A.png)
While constructing the replacement in the minibuffer, you get live visual feedback for the replacements:
![entering replacement](https://github.com/benma/visual-regexp.el/raw/master/screenshots/visual-regexp0B.png)
![entering replacement](visual-regexp0B.png)
It can be used to replace all matches in one go (like `replace-regexp`), or a decision can be made on each match (like `query-replace-regexp`).
## Installation
If you are using Emacs 24, you can get visual-regexp from [melpa](http://melpa.milkbox.net/) with the package manager.
Add the following code to your init file. Of course you can select your own key bindings.
Note: `vr/mc-mark` is an interface to [multiple-cursors](https://github.com/magnars/multiple-cursors.el/).
......@@ -32,10 +30,10 @@ To customize, use `M-x customize-group [RET] visual-regexp`.
An interesting application of this is regexp-renaming a bunch of files directly in a dired buffer with live feedback (using `wdired-change-to-wdired-mode`):
Construction of the regexp:
![entering regexp](https://github.com/benma/visual-regexp.el/raw/master/screenshots/visual-regexp1A.png)
![entering regexp](visual-regexp1A.png)
Construction of the replacement string with inlined preview enabled:
![entering replacement](https://github.com/benma/visual-regexp.el/raw/master/screenshots/visual-regexp1B.png)
![entering replacement](visual-regexp1B.png)
## Tip Jar
If you found this useful, please consider donating.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment