clean up discrepencies in config

This commit is contained in:
tdback 2024-11-13 17:56:09 -05:00
parent 996675ce46
commit ebc5fbbe5c
2 changed files with 3 additions and 5 deletions

View file

@ -10,6 +10,6 @@ return {
}, },
}) })
vim.cmd("colorscheme rose-pine") vim.cmd.colorscheme("rose-pine")
end, end,
} }

View file

@ -1,13 +1,11 @@
return { return {
'stevearc/oil.nvim', "stevearc/oil.nvim",
dependencies = { "nvim-tree/nvim-web-devicons" }, dependencies = { "nvim-tree/nvim-web-devicons" },
config = function() config = function()
require("oil").setup({ require("oil").setup({
default_file_explorer = true, default_file_explorer = true,
skip_confirm_for_simple_edits = true, skip_confirm_for_simple_edits = true,
view_options = { view_options = { show_hidden = true },
show_hidden = true,
},
}) })
vim.keymap.set("n", "-", "<CMD>Oil<CR>", { desc = "Open parent directory" }) vim.keymap.set("n", "-", "<CMD>Oil<CR>", { desc = "Open parent directory" })