PracticalVim Tip4 - yszheda/wiki GitHub Wiki

Tip 4: Act, Repeat, Reverse

Return to the top: <>

Repeatable Actions and How to Reverse Them

| Intent | Act | Repeat | Reverse | | Make a change | {edit} | . | u | | Scan line for next character | f{char}t{char} | ; | , | | Scan line for previous character | F{char}T{char} | ; | , | | Scan document for next match | /pattern | n | N | | Scan document for previous match | ?pattern | n | N | | Perform substitution | :s/target/replacement | & | u | | Execute a sequence of changes | qx{changes}q | @x | u |

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