links: [[010 Vim MOC]]
---
# Git gutter plugin shortcuts
## Preview hunk changes on a line
```sh
<leader>hp # gives you preview of changes on a line
```
## Stage/Undo stage hunk
```sh
<leader>hs # stage the hunk
<leader>hu # undo stage of the hunk
```
## Jumping between hunks
```sh
[c # go to previous hunk
]c # go to next hunk
```
---
tags: #vim, #git