My code snippets

If you want to look for a specific change in an area of a file you are working on or even the whole file, This can be done with fugitive, a vim plugin for git, which makes it extremely useful.

To do this you need to use the Glog command, it will search for all changes on the file and set it up in your quickfix list.


To move from change to change, the plugin unimpaired.vim adds some default key binds that are very useful

unimpaired vim action
[q :cprev Jump to previous quickfix item
]q :cnext Jump to next quickfix item
[Q :cfirst Jump to first quickfix item
]Q :clast Jump to last quickfix item

For more information look here