mirror of
https://github.com/Baipyrus/nvim-config.git
synced 2024-11-14 21:13:49 +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 {
|
return {
|
||||||
'stevearc/oil.nvim',
|
'stevearc/oil.nvim',
|
||||||
opts = {},
|
|
||||||
-- Optional dependencies
|
-- Optional dependencies
|
||||||
dependencies = { 'nvim-tree/nvim-web-devicons' },
|
dependencies = { 'nvim-tree/nvim-web-devicons' },
|
||||||
config = function()
|
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' })
|
vim.keymap.set('n', '<leader>fe', require('oil').open, { desc = '[F]ile [E]xplorer' })
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user