mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-08-21 18:55:47 +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";
|
||||
}
|
||||
|
||||
# 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>";
|
||||
|
||||
Reference in New Issue
Block a user