initial commit
This commit is contained in:
18
lua/plugins/oil.lua
Normal file
18
lua/plugins/oil.lua
Normal file
@ -0,0 +1,18 @@
|
||||
vim.pack.add({
|
||||
"https://github.com/nvim-mini/mini.icons",
|
||||
"https://github.com/stevearc/oil.nvim"
|
||||
})
|
||||
|
||||
require('mini.icons').setup()
|
||||
require("oil").setup({
|
||||
default_file_explorer = true,
|
||||
|
||||
columns = {
|
||||
"icon",
|
||||
},
|
||||
skip_confirm_for_simple_edits = true,
|
||||
constrain_cursor = "editable",
|
||||
})
|
||||
|
||||
-- Open oil
|
||||
vim.keymap.set("n", "<leader>pv", vim.cmd.Oil)
|
||||
Reference in New Issue
Block a user