feat: migrating neovim

This commit is contained in:
gwg313 2024-08-16 16:11:56 -04:00
parent 86266f8205
commit 8d5e0e6566
Signed by: gwg313
GPG key ID: 60FF63B4826B7400
47 changed files with 1964 additions and 222 deletions

View file

@ -0,0 +1,26 @@
{pkgs, ...}: {
programs.nixvim = {
extraPlugins = [pkgs.vimPlugins.precognition-nvim];
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;
};
}
];
};
}