Yazi plugin

This commit is contained in:
2025-11-11 21:51:41 +00:00
parent 2062c442b2
commit 8e2d413e0a
4 changed files with 112 additions and 73 deletions

View File

@@ -1,23 +1,23 @@
-- Filesystem manager
require('helpers').edit_cf('po', '/lua/plugins/oil.lua')
vim.keymap.set('n', '-', '<CMD>Oil<CR>', { desc = 'Open parent directory' })
-- require('helpers').edit_cf('po', '/lua/plugins/oil.lua')
--
-- vim.keymap.set('n', '-', '<CMD>Oil<CR>', { desc = 'Open parent directory' })
return {
'stevearc/oil.nvim',
---@module 'oil'
---@type oil.SetupOpts
opts = {
view_options = {
show_hidden = true,
},
keymaps = {
['<C-p>'] = false,
},
},
-- Optional dependencies
dependencies = { { 'echasnovski/mini.icons', opts = {} } },
-- dependencies = { "nvim-tree/nvim-web-devicons" }, -- use if you prefer nvim-web-devicons
-- Lazy loading is not recommended because it is very tricky to make it work correctly in all situations.
lazy = false,
-- 'stevearc/oil.nvim',
-- ---@module 'oil'
-- ---@type oil.SetupOpts
-- opts = {
-- view_options = {
-- show_hidden = true,
-- },
-- keymaps = {
-- ['<C-p>'] = false,
-- },
-- },
-- -- Optional dependencies
-- dependencies = { { 'echasnovski/mini.icons', opts = {} } },
-- -- dependencies = { "nvim-tree/nvim-web-devicons" }, -- use if you prefer nvim-web-devicons
-- -- Lazy loading is not recommended because it is very tricky to make it work correctly in all situations.
-- lazy = false,
}