Adding template files and configuring template plugin.

This commit is contained in:
2017-05-27 11:01:31 +01:00
parent 951f9f63c7
commit 0e74f81be0
3 changed files with 18 additions and 0 deletions

View File

@@ -1,4 +1,12 @@
" Setup templates.
"
let g:git_root=system("git rev-parse --show-toplevel | tr -d '\\n'")
let g:templates_no_autocmd = 0
let g:templates_directory=[ g:git_root . '/templates' ]
let g:templates_global_name_prefix='_'
let g:templates_debug=1
let s:vimrc=expand('<sfile>:p:r')
let s:host=hostname()