Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Project Diff Preview | Goto hunks #176

Merged
merged 1 commit into from
Jan 8, 2022
Merged

feat: Project Diff Preview | Goto hunks #176

merged 1 commit into from
Jan 8, 2022

Conversation

tanvirtin
Copy link
Owner

@tanvirtin tanvirtin commented Jan 7, 2022

Closes #171

You can navigate hunks using "hunk_up" and "hunk_down" either you are focused on the table or the code view.

I suggest binding these navigation command to a useful keymapping.

Pressing <CR> either on table or code view will take you directly to the hunk you were navigating when you open the buffer.

Additionally, just being on any hunk and pressing enter should take you to the hunk you are on when you are focused on the code view.

@tanvirtin tanvirtin added the enhancement New feature or request label Jan 7, 2022
@tanvirtin tanvirtin force-pushed the develop branch 4 times, most recently from f4697f8 to 17b37d3 Compare January 8, 2022 01:41
You can navigate hunks using "hunk_up" and "hunk_down" either you are focused on the table or the code view.

Pressing `<CR>` either on table or code view will take you directly to the hunk you were navigating when you open the buffer.

Additionally, just being on any hunk and pressing enter should take you to the hunk you are on.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Go to hunk
1 participant