Vim: Finally configure templates
This commit is contained in:
parent
d36d1ff741
commit
dc1617dc21
11
.vim/templates/=template=.py
Normal file
11
.vim/templates/=template=.py
Normal file
@ -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%
|
||||||
|
"""
|
5
.vimrc
5
.vimrc
@ -8,6 +8,11 @@ endif
|
|||||||
|
|
||||||
syntax on
|
syntax on
|
||||||
filetype plugin indent 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
|
" Lightline
|
||||||
set noshowmode
|
set noshowmode
|
||||||
let g:lightline = {
|
let g:lightline = {
|
||||||
|
Loading…
Reference in New Issue
Block a user