feat: neovim oil.nvim
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user