Replace oil with fyler

This commit is contained in:
2025-09-28 21:48:05 +02:00
parent 49eeed691f
commit b0d609d189
3 changed files with 20 additions and 36 deletions

View File

@@ -24,6 +24,7 @@
"everforest-nvim": { "branch": "main", "commit": "d2936185a6d266def29fd7b523d296384580ef08" },
"flash.nvim": { "branch": "main", "commit": "b68bda044d68e4026c4e1ec6df3c5afd7eb8e341" },
"friendly-snippets": { "branch": "main", "commit": "572f5660cf05f8cd8834e096d7b4c921ba18e175" },
"fyler.nvim": { "branch": "stable", "commit": "f54a4bcb26e0632c0d9663cf6c9ba64fedf462bb" },
"gitsigns.nvim": { "branch": "main", "commit": "f780609807eca1f783a36a8a31c30a48fbe150c5" },
"goose.nvim": { "branch": "main", "commit": "e5f7c8590c4d9873390149a14da7d468ddf6feec" },
"grug-far.nvim": { "branch": "main", "commit": "50d9ee2b5a19634670441948e7e4afaa042f1059" },

19
lua/plugins/fyler.lua Normal file
View File

@@ -0,0 +1,19 @@
return {
'A7Lavinraj/fyler.nvim',
dependencies = {
'nvim-tree/nvim-web-devicons',
},
branch = 'stable',
opts = {
default_explorer = true,
icon_provider = 'nvim_web_devicons',
mappings = {
['C-d'] = 'SelectVSplit',
['C-s'] = 'SelectSplit',
},
},
keys = {
{ '-', function() require('fyler').open() end, desc = 'Open Fyler' },
},
cmd = { 'Fyler' },
}

View File

@@ -1,36 +0,0 @@
return {
'stevearc/oil.nvim',
opts = {
delete_to_trash = true,
default_file_explorer = true,
skip_confirm_for_simple_edits = true,
view_options = {
-- Show files and directories that start with "."
show_hidden = true,
},
keymaps = {
['g?'] = 'actions.show_help',
['<CR>'] = 'actions.select',
['<C-s>'] = 'actions.select_vsplit',
['<C-h>'] = 'actions.select_split',
['<C-t>'] = 'actions.select_tab',
['<C-p>'] = 'actions.preview',
['<C-c>'] = 'actions.close',
['<C-l>'] = 'actions.refresh',
['<backspace>'] = 'actions.parent',
['_'] = 'actions.open_cwd',
['`'] = 'actions.cd',
['~'] = 'actions.tcd',
['g.'] = 'actions.toggle_hidden',
},
},
lazy = false,
dependencies = { 'nvim-tree/nvim-web-devicons' },
keys = {
{
'-',
function() require('oil').open() end,
desc = 'Open oil',
},
},
}