1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2026-03-08 02:14:47 +01:00

nvim: switched renamer for oil.nvim

This commit is contained in:
2026-02-28 03:27:28 +01:00
parent fdabd6464d
commit e04d24f2ad
4 changed files with 17 additions and 11 deletions

View File

@@ -114,3 +114,8 @@ end, {
nargs = 1,
complete = 'file'
})
-- stevearc/oil.nvim
vim.api.nvim_create_user_command('Renamer', function(opts)
vim.cmd("Oil " .. opts.args)
end, { nargs = "*" })

View File

@@ -0,0 +1,10 @@
return {
-- rename files in buffer
{
"stevearc/oil.nvim",
---@module 'oil'
---@type oil.setupopts
opts = {},
dependencies = { "nvim-mini/mini.icons" },
},
}

View File

@@ -1,10 +0,0 @@
return {
-- rename files in buffer
{
'qpkorr/vim-renamer',
priority = 100,
config = function()
require('renamer')
end
}
}