You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
12 months ago | |
---|---|---|
src | 12 months ago | |
.gitignore | 1 year ago | |
COPYING | 1 year ago | |
Cargo.lock | 1 year ago | |
Cargo.toml | 1 year ago | |
README.md | 12 months ago | |
screenshot.png | 12 months ago |
README.md
vsub
A visual regex substitution tool
Commands
w
Write (save) the edited buffer to the opened file
s/<fpat>/<spat>/
Substitutes all occurrences of fpat
with spat
. $c
= access capture group c
, $0
= whole match
s/<pat>/
Removes all occurrences of pat
(substitutes with nothing)
p/<pat>/
Highlights all occurrences of pat
(previews what s
would remove)