Skip to content

Commit a1e2ce3

Browse files
committed
fix(nvim): scroll half page on codediff explorer ctrl-b/ctrl-f
1 parent 24cd663 commit a1e2ce3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lua/plugins/codediff.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@ return {
4242

4343
vim.keymap.set("n", "<c-b>", function()
4444
vim.api.nvim_win_call(mod_win, function()
45-
vim.cmd("normal! \x02")
45+
vim.cmd("normal! \x15")
4646
end)
4747
end, opts)
4848

4949
vim.keymap.set("n", "<c-f>", function()
5050
vim.api.nvim_win_call(mod_win, function()
51-
vim.cmd("normal! \x06")
51+
vim.cmd("normal! \x04")
5252
end)
5353
end, opts)
5454
end,

0 commit comments

Comments
 (0)