diff options
Diffstat (limited to 'lua/config')
| -rw-r--r-- | lua/config/oil.lua | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lua/config/oil.lua b/lua/config/oil.lua new file mode 100644 index 0000000..87fbcf9 --- /dev/null +++ b/lua/config/oil.lua @@ -0,0 +1,18 @@ +vim.pack.add({ + "https://github.com/stevearc/oil.nvim", + "https://github.com/JezerM/oil-lsp-diagnostics.nvim", + "https://github.com/malewicz1337/oil-git.nvim", +}) + +require("oil").setup({ + default_file_explorer = true, + columns = { + "icon", + "permissions", + "size", + "mtime", + }, +}) +require("oil-git").setup() + +vim.keymap.set("n", "-", "<CMD>Oil<CR>") |
