mirror of
https://github.com/Dichgrem/DCGOS.git
synced 2025-12-17 11:41:59 -05:00
30 lines
506 B
Nix
30 lines
506 B
Nix
{
|
|
plugins.precognition = {
|
|
enable = true;
|
|
settings = {
|
|
startVisible = false;
|
|
};
|
|
};
|
|
|
|
keymaps = [
|
|
{
|
|
mode = "n";
|
|
key = "<leader>up";
|
|
action.__raw = ''
|
|
function()
|
|
if require("precognition").toggle() then
|
|
vim.notify("Precognition on")
|
|
else
|
|
vim.notify("Precognition off")
|
|
end
|
|
end
|
|
'';
|
|
|
|
options = {
|
|
desc = "Precognition Toggle";
|
|
silent = true;
|
|
};
|
|
}
|
|
];
|
|
}
|