splits out configuration into central modules
This commit is contained in:
parent
58ffb417dd
commit
b44654b9a2
63 changed files with 20 additions and 20 deletions
24
modules/nvim/config/lua/plugins/oil.lua
Normal file
24
modules/nvim/config/lua/plugins/oil.lua
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
return {
|
||||
"stevearc/oil.nvim",
|
||||
opts = {
|
||||
keymaps = {
|
||||
["q"] = "actions.close",
|
||||
},
|
||||
columns = {
|
||||
"icon",
|
||||
"permissions",
|
||||
"size",
|
||||
-- "mtime",
|
||||
},
|
||||
float = {
|
||||
padding = 4,
|
||||
border = "rounded",
|
||||
preview_split = "auto",
|
||||
},
|
||||
},
|
||||
-- stylua: ignore
|
||||
keys = {
|
||||
{ "<leader>n", "<cmd>Oil --float<cr>", desc = "Open file browser", mode = "n" },
|
||||
}
|
||||
,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue