mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-08-22 11:05:48 +02:00
scroll and center
Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
@@ -207,6 +207,28 @@
|
|||||||
desc = "Dedent and keep selection";
|
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
|
# Move
|
||||||
{
|
{
|
||||||
key = "<C-h>";
|
key = "<C-h>";
|
||||||
|
|||||||
Reference in New Issue
Block a user