We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e043f4 commit 4daaf07Copy full SHA for 4daaf07
lua/scrollview.lua
@@ -1394,7 +1394,7 @@ local get_row_length_lookup = function(winid)
1394
set_window_option(0, 'scrolloff', 0)
1395
set_window_option(0, 'virtualedit', 'none')
1396
fn.winrestview(api.nvim_win_call(winid, fn.winsaveview))
1397
- vim.cmd('keepjumps normal! H')
+ vim.cmd('keepjumps normal! Hg0')
1398
local prior
1399
-- Limit the number of steps as a precaution. The doubling of window height
1400
-- is to be safe.
0 commit comments