diff options
| author | Trey Bastian <hello@treybastian.com> | 2026-06-06 09:22:27 +0100 |
|---|---|---|
| committer | Trey Bastian <hello@treybastian.com> | 2026-06-06 09:22:27 +0100 |
| commit | 3336f519594d04f4247e90d587f2eaf406a0b800 (patch) | |
| tree | 1b42cf94fedf9a4b5d8cd1cad3b4bf74694831e5 /lua/config | |
| parent | 7b6af7d48637c2d8f030b3a16a5df2c67c3d5a0d (diff) | |
added oil
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>") |
