template.nvim is a neovim plugin that allows neovim users to <action>
.
neovim
-- Lazy
{
'2kabhishek/template.nvim',
dependencies = {
'nvim-lua/plenary.nvim'
},
cmd = 'TemplateHello',
},
-- Packer
use '2kabhishek/template.nvim'
Fork the template.nvim
repo
Update the plugin name, file names etc, change template
to your-plugin-name
Add the code required for your plugin,
Add test code to the tests file
Update the README
Tweak the docs action file to reflect your username, commit message and plugin name
template.nvim can be configured using the following options:
template.setup({
name = 'template.nvim', -- Name to be greeted, 'World' by default
})
template.nvim
adds the following commands:
TemplateHello
: Shows a hello message with the confugred name.It is recommended to use:
<leader>th,
for TemplateHello
NOTE: By default there are no configured keybindings.
Run :help nerdy
for more details.
Planning to add <feature/module>
.
template.nvim was inspired by nvim-plugin-template, I added some changes on top to make setting up a new plugin faster.
<issue/difficulty>
<learning/accomplishment>
⭐ hit the star button if you found this useful ⭐
Source | Blog | Twitter | LinkedIn | More Links | Other Projects