Skip to content

Commit effb99e

Browse files
committed
feat(nvim): configure oil.nvim in floating window
1 parent 54aba13 commit effb99e

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

nvim/lua/plugins/oil.lua

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,19 @@ return {
1818
-- "size",
1919
-- "mtime",
2020
},
21+
22+
float = {
23+
padding = 2,
24+
max_width = 0.7,
25+
max_height = 0.7,
26+
border = "rounded",
27+
},
2128
},
2229

2330
keys = {
2431
{
2532
"<Leader>e",
26-
":Oil<CR>",
33+
":Oil --float<CR>",
2734
desc = "Open file explorer (oil.nvim)",
2835
},
2936
},

0 commit comments

Comments
 (0)