sindrets / diffview.nvim

Single tabpage interface for easily cycling through diffs for all modified files for any git rev.
Other
3.74k stars 105 forks source link

docs: Explain how to jump between hunks #334

Closed MatejKastak closed 1 year ago

MatejKastak commented 1 year ago

Hello, very good plugin :+1:

I am starting to use it for more complex Pull Request reviews. But I was not able to easily figure out how to jump to next difference. I tried to check README for next* and saw next_conflict() and it was doing nothing for me. Only after actually reading the code I finally accepted that it was doing exactly what was the name. Nevertheless, it was the only next_* reference in the plugin so I did not dismiss it sooner.

I read the whole README.md, some of the docs, keyboard mappings configuration, etc. but it took me some time to stumble upon an old issue https://github.com/sindrets/diffview.nvim/issues/111 which was exactly what I was looking for. So I decided to extend the FAQ (feel free to edit it in any way). Judging by the number of reactions on that issues other people are looking for it also.

Hopefully, it will be useful for others :slightly_smiling_face: and again thanks for a cool plugin.

sindrets commented 1 year ago

Eventually I'll remove this and replace it with a section about :h diff-mode (rel. #277), but for now: LGTM, thanks!