From 9271391f34861b05c37623c03a073a8abbb9dfd1 Mon Sep 17 00:00:00 2001 From: light <1870499383@qq.com> Date: Mon, 3 Dec 2018 17:04:26 +0800 Subject: [PATCH] update --- vim/templates/=template=.py | 10 ++++++++++ vim/vimrc | 1 + 2 files changed, 11 insertions(+) create mode 100644 vim/templates/=template=.py diff --git a/vim/templates/=template=.py b/vim/templates/=template=.py new file mode 100644 index 0000000..6eb9960 --- /dev/null +++ b/vim/templates/=template=.py @@ -0,0 +1,10 @@ +#! /usr/bin/env python +# -*- coding: utf-8 -*- +# vim:fenc=utf-8 +# +# Copyright © %USER% +# %DATE%-%TIME% + +""" +%HERE% +""" diff --git a/vim/vimrc b/vim/vimrc index 169de09..11b2ebf 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -14,6 +14,7 @@ Plugin 'rking/ag.vim' Plugin 'aperezdc/vim-template.git' +let g:templates_directory = '~/.vim/templates' Plugin 'w0rp/ale'