Menu

gitpiper

Vimdiff Cheat Sheet in April 2024

Last Updated: 9 April 2024

README.md

Getting started

{: .-three-column}

Navigating

{: .-prime}

Shortcut Description
]c Next difference
[c Previous difference
{: .-shortcuts}

Editing

Shortcut Description
do Diff Obtain!
Pull the changes to the current file.
dp Diff Put!
Push the changes to the other file.
:diffupdate Re-scan the files for differences.
ZQ Quit without checking changes
{: .-shortcuts}

Folds

Shortcut Description
zo / zO Open
zc / zC Close
za / zA Toggle
zv Open folds for this line
zM Close all
zR Open all
zm Fold more (foldlevel += 1)
zr Fold less (foldlevel -= 1)
zx Update folds
{: .-shortcuts}

Also see


338+ more cheat sheets for you in April 2024

Subscribe to our Newsletter

Subscribe to get resources directly to your inbox. You won't receive any spam! ✌️

© 2024 GitPiper. All rights reserved

Rackpiper Technology Inc

Company

About UsBlogContact

Subscribe to our Newsletter

Subscribe to get resources directly to your inbox. You won't receive any spam! ✌️