code icon indicating copy to clipboard operation
code copied to clipboard

Search matches should scroll to the middle of the screen when possible

Open jeremypw opened this issue 4 years ago • 0 comments

Problem

Pressing <Ctrl>g to locate the next match only scrolls the window a minimum amount to get match on screen - usually the bottom line. It would be more convenient to scroll it to nearer the middle of the screen where the eye naturally looks and would allow sight of all the context.

Proposal

Use the within_margin parameter to scroll nearer the centre of the screen

Prior Art

Geany does this.

jeremypw avatar Mar 07 '21 12:03 jeremypw