Re-add oil.nvim
All checks were successful
/ check (push) Successful in 40s

Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
This commit is contained in:
Oliver Davies 2025-11-06 21:56:15 +00:00
parent 3aad074833
commit d28cc18342

24
modules/nixvim/oil.nix Normal file
View file

@ -0,0 +1,24 @@
{
flake.modules.nixvim.custom = {
plugins.oil = {
enable = true;
settings = {
delete_to_trash = true;
keymaps."-" = "actions.parent";
skip_confirm_for_simple_edits = true;
view_options.show_hidden = true;
};
};
keymaps = [
{
action = "<cmd>Oil<CR>";
key = "-";
}
];
};
}