feat: add back <C-d> and <C-u> auto-centering

This commit is contained in:
Youwen Wu 2024-09-18 02:45:39 -07:00
parent 6db1a249a6
commit 8e3bb627ba
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3

View file

@ -127,6 +127,24 @@
desc = "Put from system clipboard"; desc = "Put from system clipboard";
}; };
} }
{
mode = "n";
key = "<C-u>";
action = "<C-u>zz";
options = {
silent = true;
noremap = true;
};
}
{
mode = "n";
key = "<C-d>";
action = "<C-d>zz";
options = {
silent = true;
noremap = true;
};
}
{ {
action = "<cmd>Telescope find_files<CR>"; action = "<cmd>Telescope find_files<CR>";
key = "<Leader>ff"; key = "<Leader>ff";