trying out nix

This commit is contained in:
snarmph 2026-02-18 14:32:37 +01:00
commit 65bd68a260
18 changed files with 1217 additions and 0 deletions

22
lua/plugins/oil.lua Normal file
View file

@ -0,0 +1,22 @@
return {
'stevearc/oil.nvim',
opts = {
float = {
max_width = 80,
max_height = 20,
border = "rounded",
},
preview_win = {
update_on_cursor_moved = true,
preview_method = "fast_scratch",
},
delete_to_trash = true,
watch_for_changes = true,
},
dependencies = { { "echasnovski/mini.icons", opts = {} } },
lazy = false,
keys = {
{ "<leader>do", "<cmd>Oil --float<CR>", desc = "Open floating Oil" },
},
}