scroll and center

Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
Hadi
2026-08-20 21:22:45 +02:00
parent af19b9f1b7
commit 1b2dcfc20a
+22
View File
@@ -207,6 +207,28 @@
desc = "Dedent and keep selection";
}
# Scroll and center
{
key = "<C-d>";
mode = [
"n"
"v"
];
silent = true;
action = "<C-d>zz";
desc = "Scroll down and center";
}
{
key = "<C-u>";
mode = [
"n"
"v"
];
silent = true;
action = "<C-u>zz";
desc = "Scroll up and center";
}
# Move
{
key = "<C-h>";