mirror of
https://github.com/tiyn/dotfiles.git
synced 2026-03-28 10:24:47 +01:00
NVIM: Switched to file-renamer.nvim from oil.nvim
This commit is contained in:
@@ -114,8 +114,3 @@ end, {
|
|||||||
nargs = 1,
|
nargs = 1,
|
||||||
complete = "file",
|
complete = "file",
|
||||||
})
|
})
|
||||||
|
|
||||||
-- stevearc/oil.nvim
|
|
||||||
vim.api.nvim_create_user_command("Renamer", function(opts)
|
|
||||||
vim.cmd("Oil " .. opts.args)
|
|
||||||
end, { nargs = "*" })
|
|
||||||
|
|||||||
4
.config/nvim/lua/plugins/file-renamer.lua
Normal file
4
.config/nvim/lua/plugins/file-renamer.lua
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
return {
|
||||||
|
-- rename files in buffer
|
||||||
|
"tiyn/file-renamer.nvim",
|
||||||
|
}
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
return {
|
|
||||||
-- rename files in buffer
|
|
||||||
"stevearc/oil.nvim",
|
|
||||||
---@module 'oil'
|
|
||||||
---@type oil.setupopts
|
|
||||||
opts = {},
|
|
||||||
dependencies = { "nvim-mini/mini.icons" },
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user