-
fix(preview): keep cursor on match when paging with <C-d>/<C-u> (#556)
发布于
2026-06-02 04:27:16 +00:00 - fix(preview): keep cursor on match when paging with /
preview.scroll moved the cursor to the new topline, which dragged the
location highlight / cursorline away from the matched line. Page the
viewport with winrestview({topline=...}) instead so cursor stays parked
on the match.Refs #555
- fix: Properly address the issue
Co-authored-by: gustav-fff 286169375+gustav-fff@users.noreply.github.com
Co-authored-by: Dmitriy Kovalenko dmtr.kovalenko@outlook.com下载附件