Skip to content

Instantly share code, notes, and snippets.

@gzagatti
Created March 20, 2016 11:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gzagatti/40d23c1e07efeba23cf9 to your computer and use it in GitHub Desktop.
Save gzagatti/40d23c1e07efeba23cf9 to your computer and use it in GitHub Desktop.
Increase digit by 1 in vim match
%s/\d\+/\=(submatch(0)+1)/g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment