A simple plugin that allows the creation of angular schematics inside your oil window.
Add this plugin to your favorite package manager, e.g. in lazy.nvim:
{
"simaxme/oil-angular-schematics.nvim",
version = "*" -- for stable releases
}In your oil configuration, simply add a keymap to create the schematic:
require("oil").setup({
-- ...
keymaps = {
-- ...
["<Leader>ng"] = {
mode = "n",
callback = function()
require("oil-angular-schematics").create_angular_schematic()
end
}
-- ...
}
-- ...
})Now, each time you press <Leader>ng, you will be asked which schematic should be created.