From e744327c02f4449f4279252dacd06992d5ab9617 Mon Sep 17 00:00:00 2001 From: Janis Hutz Date: Tue, 21 Oct 2025 08:44:56 +0200 Subject: [PATCH] [Scroll] Add faster scroll bind --- nvim/lua/keybinds.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nvim/lua/keybinds.lua b/nvim/lua/keybinds.lua index f48562b..ad269b7 100755 --- a/nvim/lua/keybinds.lua +++ b/nvim/lua/keybinds.lua @@ -2,6 +2,10 @@ local opts = require("utils").opts local keymap = vim.keymap +-- Scroll more +keymap.set({ "n", "v" }, "", "4", opts("Scroll four lines up")) +keymap.set({ "n", "v" }, "", "4", opts("Scroll four lines down")) + -- write to file (sudo if readonly) if vim.g.vscode then keymap.set("n", "W", ":Write", opts("write file (vscode)")) @@ -59,7 +63,6 @@ keymap.set("n", "r", ":!%:p", opts("run current file with argume -- chmod +x keymap.set("n", "x", ":!chmod +x %:p", opts("make current file executable")) - -- script setup keymap.set( "n",