From 07cd0f16aba7efad242b168697455d08694bb6c7 Mon Sep 17 00:00:00 2001 From: Sebastian Burschel Date: Fri, 13 Dec 2019 15:09:05 +0100 Subject: [PATCH] First try custom emmet snippets --- .../customizations/vim-emmet-mysnippets.json | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 dotfiles/.vim/customizations/vim-emmet-mysnippets.json diff --git a/dotfiles/.vim/customizations/vim-emmet-mysnippets.json b/dotfiles/.vim/customizations/vim-emmet-mysnippets.json new file mode 100644 index 0000000..7d2e58e --- /dev/null +++ b/dotfiles/.vim/customizations/vim-emmet-mysnippets.json @@ -0,0 +1,25 @@ +{ + "variables": { + "pyversion": "python3", + "charset": "utf8", + "indentation": " ", + "newline": "\n" + }, + + "python": { + "filters": "python", + "profile": "python", + "snippets": { + "shebang" : "#!/usr/bin/env ${pyversion}${newline}# coding: ${charset}${newline}${newline}", + "openfile" : "", + "savefile" : "", + "basepath" : "" + }, + "abbreviations": { + "osfile": "openfile+savefile" + } + + }, + + +} \ No newline at end of file