Skip to content

simaxme/oil-angular-schematics.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

oil-angular-schematics.nvim

A simple plugin that allows the creation of angular schematics inside your oil window.

Installing the plugin

Add this plugin to your favorite package manager, e.g. in lazy.nvim:

{
    "simaxme/oil-angular-schematics.nvim",

    version = "*" -- for stable releases
}

How to use this plugin

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.

About

A simple plugin that allows the creation of angular schematics inside your oil window.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages