|
|
|
@ -1,3 +1,5 @@
|
|
|
|
|
# This repository has [moved to GitHub](https://github.com/jgoguen/tmpl.vim/)
|
|
|
|
|
|
|
|
|
|
# tmpl.vim
|
|
|
|
|
|
|
|
|
|
`tmpl.vim` provides autoloading new file templates for vim and Neovim. Templates
|
|
|
|
@ -39,12 +41,14 @@ call minpac#add('https://codeberg.org/jgoguen/tmpl.vim')
|
|
|
|
|
Clone the repository to `pack/plugins/start`:
|
|
|
|
|
|
|
|
|
|
For vim 8:
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
mkdir -p ~/.vim/pack/plugins/start
|
|
|
|
|
git clone https://codeberg.org/jgoguen/tmpl.vim ~/.vim/pack/plugins/start/tmpl.vim
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
For Neovim:
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
mkdir -p "${XDG_DATA_HOME:-${HOME}/.local/share}/nvim/site/pack/plugins/start"
|
|
|
|
|
git clone https://codeberg.org/jgoguen/tmpl.vim "${XDG_DATA_HOME:-${HOME}/.local/share}/nvim/site/pack/plugins/start"
|
|
|
|
@ -91,7 +95,7 @@ some specific reserved tag names:
|
|
|
|
|
5. `DIRNAME`: Always replaced with the name of the directory the file is in.
|
|
|
|
|
6. `BASENAME`: Always replaced with the name of the file without extensions.
|
|
|
|
|
7. `UPPERBASENAME`: Always replaced with the name of the file without extensions
|
|
|
|
|
in upper-case.
|
|
|
|
|
in upper-case.
|
|
|
|
|
|
|
|
|
|
### Template includes
|
|
|
|
|
|
|
|
|
|