https://github.com/g4s8/vim-licenser
Automatically insert license header from repo LICENSE
https://github.com/g4s8/vim-licenser
license vim vim-plugin vim-script
Last synced: 4 months ago
JSON representation
Automatically insert license header from repo LICENSE
- Host: GitHub
- URL: https://github.com/g4s8/vim-licenser
- Owner: g4s8
- License: mit
- Created: 2019-06-07T15:21:34.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-18T19:28:46.000Z (almost 6 years ago)
- Last Synced: 2025-01-13T12:50:36.667Z (5 months ago)
- Topics: license, vim, vim-plugin, vim-script
- Language: Vim script
- Size: 8.79 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
This vim plugin automatically adds license header from repo root,
when you have [`LICENSE` file](https://github.com/g4s8/vim-licenser/blob/master/LICENSE)
(or `LICENSE.txt`) and create new file with `vim`
this plugin will transform license text into comment header and put it at the beginning
of the new file like here: https://github.com/g4s8/vim-licenser/blob/5ebf741e17e9ceb5045a7cac3b453397e843040a/plugin/licenser.vim#L1-L22You may configure this plugin but it's not required, just install it with
any plugin management tool in you `.vimrc`, e.g.:
```vim
Plug 'g4s8/vim-licenser'
```
that's all.