plugins/ui: move to by-name

This commit is contained in:
Matt Sturgeon 2024-09-04 17:42:49 +01:00
parent 2456370ab2
commit 91c6b62881
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
25 changed files with 0 additions and 13 deletions

View file

@ -1,70 +0,0 @@
{
empty = {
plugins.neoscroll.enable = true;
};
example = {
plugins.neoscroll = {
enable = true;
settings = {
mappings = [
"<C-u>"
"<C-d>"
"<C-b>"
"<C-f>"
"<C-y>"
"<C-e>"
"zt"
"zz"
"zb"
];
hide_cursor = true;
stop_eof = true;
respect_scrolloff = false;
cursor_scrolls_alone = true;
easing_function = "quadratic";
pre_hook = ''
function(info)
if info == "cursorline" then
vim.wo.cursorline = false
end
end
'';
post_hook = ''
function(info)
if info == "cursorline" then
vim.wo.cursorline = true
end
end
'';
};
};
};
defaults = {
plugins.neoscroll = {
enable = true;
settings = {
mappings = [
"<C-u>"
"<C-d>"
"<C-b>"
"<C-f>"
"<C-y>"
"<C-e>"
"zt"
"zz"
"zb"
];
hide_cursor = true;
step_eof = true;
respect_scrolloff = false;
cursor_scrolls_alone = true;
easing_function = null;
pre_hook = null;
post_hook = null;
performance_mode = false;
};
};
};
}