Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vigoux/templar.nvim

A dead simple template manager for neovim written in lua
https://github.com/vigoux/templar.nvim

Last synced: about 2 months ago
JSON representation

A dead simple template manager for neovim written in lua

Awesome Lists containing this project

README

        

[![asciicast](https://asciinema.org/a/EJso0aznW4JplSdciiizC0snJ.svg)](https://asciinema.org/a/EJso0aznW4JplSdciiizC0snJ)
Templar.nvim
============

Templar is a simple template manager for Neovim (tested on neovim 0.5), written in lua.

Quickstart
----------

To start using Templar :

- Create a `templates` directory in `.config/nvim` directory.
- Fill your template with the desired informations (eventually with fields, see `:h templar-fields`)
- Register your template using `:TemplarRegister {regex}` (see `:h TemplarRegister`)
- Edit a new file matching previously given regex
- Templar fills everything in

More informations
-----------------

Check out `:h templar.txt` to have a more in depth overview of the plugin.
For more powerfull templates, check out `:h templar-fields`.