Created
March 20, 2016 11:44
-
-
Save gzagatti/40d23c1e07efeba23cf9 to your computer and use it in GitHub Desktop.
Increase digit by 1 in vim match
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%s/\d\+/\=(submatch(0)+1)/g |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment