trying out nix
This commit is contained in:
commit
65bd68a260
18 changed files with 1217 additions and 0 deletions
22
lua/plugins/oil.lua
Normal file
22
lua/plugins/oil.lua
Normal 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" },
|
||||
},
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue