# Vimdiff cheatsheet I do not use `vimdiff` enough to remember its shortcuts and I always end up searching for them on the web. This might help me. | Command | Description | | ------------- | ---------------------------------- | | `]c` | Next difference | | `[c` | Previous difference | | `do` | Diff obtain | | `dp` | Diff put | | `:diffupdate` | Re-scan the files for differences. | | `ZQ` | Quit without checking changes | | `zo` / `zO` | Open folds | | `zc` / `zC` | Close folds | | `za` / `zA` | Toggle folds | | `zv` | Open folds for this line | | `zM` | Close all folds | | `zR` | Open all folds | | `zm` | Fold more (foldlevel += 1) | | `zr` | Fold less (foldlevel -= 1) | | `zx` | Update folds |