From d263b87df51f7e47265de1868b0475e3c9c19495 Mon Sep 17 00:00:00 2001 From: Mikhail Yudin Date: Mon, 6 Jun 2022 16:26:19 +0700 Subject: [PATCH] feat: buffer scroll mapping --- nvim/.config/nvim/lua/mappings.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nvim/.config/nvim/lua/mappings.lua b/nvim/.config/nvim/lua/mappings.lua index 56d26cf..b47583d 100644 --- a/nvim/.config/nvim/lua/mappings.lua +++ b/nvim/.config/nvim/lua/mappings.lua @@ -41,6 +41,10 @@ map('v', '', ':m \'<-2gv=gv', N) map('n', '', ':SidewaysLeft', N) map('n', '', ':SidewaysRight', N) +-- Scroll buffer contents +map('n', '', '', N) +map('n', '', '', N) + -- Resize windows map('', '', ':vertical resize -1', NS) map('', '', ':vertical resize +1', NS)