diff --git a/.vim/templates/=template=.py b/.vim/templates/=template=.py new file mode 100644 index 00000000..68676248 --- /dev/null +++ b/.vim/templates/=template=.py @@ -0,0 +1,11 @@ +#! /usr/bin/env python3 +# -*- coding: utf-8 -*- +# vim:fenc=utf-8 +# +# Copyright © %YEAR% %USER% <%MAIL%> +# +# Distributed under terms of the %LICENSE% license. + +""" +%HERE% +""" diff --git a/.vimrc b/.vimrc index 4a976bdc..b82dcb68 100644 --- a/.vimrc +++ b/.vimrc @@ -8,6 +8,11 @@ endif syntax on filetype plugin indent on +" Templates +let g:email = 'rehashedsalt@cock.li' +let g:user = 'Vintage Salt' +let g:license = 'MIT' +let g:templates_directory = [ '~/.vim/templates' ] " Lightline set noshowmode let g:lightline = {