feat: neovim oil.nvim

This commit is contained in:
2026-03-09 21:34:02 -04:00
parent 31d19d5c7d
commit 1efeacc92b
+17 -1
View File
@@ -15,7 +15,7 @@ vim.opt.splitbelow = true
vim.opt.splitright = true
vim.g.mapleader = " "
vim.keymap.set("n", "<leader>n", "<cmd>Explore .<cr>", {})
vim.keymap.set("n", "<leader>n", "<cmd>e .<cr>", {})
-- Per nixvim generated configuration
vim.diagnostic.config({
@@ -44,6 +44,22 @@ vim.pack.add({
"https://github.com/ej-shafran/compile-mode.nvim",
"https://github.com/m00qek/baleia.nvim",
"https://github.com/nvim-lualine/lualine.nvim",
"https://github.com/stevearc/oil.nvim"
})
require("oil").setup({
default_file_explorer = true,
columns = {
"permissions",
"size",
"user",
"mtime",
"icon",
},
view_options = {
show_hidden = true,
case_insensitive = true,
},
})
vim.g.compile_mode = {