sourcegit icon indicating copy to clipboard operation
sourcegit copied to clipboard

When you select file in diff context, jump to the first hunk in it

Open Mingun opened this issue 4 months ago • 4 comments

When you select files in the history, you usually want to see what was changed. I will be logically if diff view will jump to the first hunk after opening file

Mingun avatar Aug 06 '25 09:08 Mingun

Slightly related to #1680.

goran-w avatar Aug 06 '25 09:08 goran-w

#1655

heartacker avatar Aug 06 '25 09:08 heartacker

NOTE: There are two modes for navigating hunks/blocks, as set by the "Enable Block-Navigation" toggle-button (in the diff-view top-bar).

Both of these modes would benefit from this suggested enhancement, especially when the (somewhat related) "Show all Lines" mode is activated.

goran-w avatar Aug 06 '25 09:08 goran-w

Related issue: #1722

goran-w avatar Aug 18 '25 19:08 goran-w

Done.

love-linger avatar Nov 28 '25 08:11 love-linger

Great, thanks! Seems to work fine! This issue can now be closed.

goran-w avatar Nov 28 '25 12:11 goran-w