mirror of
https://github.com/Baipyrus/nvim-config.git
synced 2024-12-25 12:51:45 +00:00
show hidden files by default in oil.nvim
This commit is contained in:
parent
9fb7d5de4b
commit
37ccad6701
@ -10,11 +10,14 @@ vim.api.nvim_create_autocmd('BufLeave', {
|
||||
|
||||
return {
|
||||
'stevearc/oil.nvim',
|
||||
opts = {},
|
||||
-- Optional dependencies
|
||||
dependencies = { 'nvim-tree/nvim-web-devicons' },
|
||||
config = function()
|
||||
require('oil').setup()
|
||||
require('oil').setup({
|
||||
view_options = {
|
||||
show_hidden = true
|
||||
}
|
||||
})
|
||||
vim.keymap.set('n', '<leader>fe', require('oil').open, { desc = '[F]ile [E]xplorer' })
|
||||
end,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user