Skip to content

Commit 4daaf07

Browse files
committed
Go to column 1
1 parent 7e043f4 commit 4daaf07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/scrollview.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1394,7 +1394,7 @@ local get_row_length_lookup = function(winid)
13941394
set_window_option(0, 'scrolloff', 0)
13951395
set_window_option(0, 'virtualedit', 'none')
13961396
fn.winrestview(api.nvim_win_call(winid, fn.winsaveview))
1397-
vim.cmd('keepjumps normal! H')
1397+
vim.cmd('keepjumps normal! Hg0')
13981398
local prior
13991399
-- Limit the number of steps as a precaution. The doubling of window height
14001400
-- is to be safe.

0 commit comments

Comments
 (0)