PracticalVim Tip94 - yszheda/wiki GitHub Wiki

Tip 94: Perform Arithmetic on the Replacement

Return to the top: <>

Example: promote each heading

The Search Pattern

_NOTE_: `\zs` excludes the "h" itself.

The Substitute Command

⚠️ **GitHub.com Fallback** ⚠️