Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
This commit is contained in:
parent
3aad074833
commit
d28cc18342
1 changed files with 24 additions and 0 deletions
24
modules/nixvim/oil.nix
Normal file
24
modules/nixvim/oil.nix
Normal 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 = "-";
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue