Back to blog
Navigate your uncommitted changes in Neovim
Updated on 8/10/2025
Today I found myself wanting to navigate through my uncommitted git changes faster.
I had a hunch that , which I've using for indicating which lines had changes, should be capable of it.
And... oh yeah! gitsigns has a family of commands just for that:
vim
:Gitsigns setqflist " Populate quickfix list with current buffer's hunks:Gitsigns setqflist attached " Populate quickfix list with the open buffer's hunks:Gitsigns setqflist all " Populate quickfix list with all project hunksYou can replace setqflist with setloclist if you want the location list populated instead of the quickfix list.
After that, you can navigate your quickfix list as you normally would. This normally means :cn and :cp if you don't have , or ]q and [q if you do.