diff --git a/fake_home/.vim/templates/skeleton.json b/fake_home/.vim/templates/skeleton.json new file mode 100644 index 0000000..21da3b2 --- /dev/null +++ b/fake_home/.vim/templates/skeleton.json @@ -0,0 +1,3 @@ +{ + "key": "value" +} diff --git a/fake_home/.vimrc b/fake_home/.vimrc index a74db4c..e2b05bf 100644 --- a/fake_home/.vimrc +++ b/fake_home/.vimrc @@ -168,6 +168,7 @@ if has ("autocmd") autocmd BufNewFile *.html 0r ~/.vim/templates/skeleton.html autocmd BufNewFile *.java 0r ~/.vim/templates/skeleton.java autocmd BufNewFile *.js 0r ~/.vim/templates/skeleton.js + autocmd BufNewFile *.json 0r ~/.vim/templates/skeleton.json autocmd BufNewFile Makefile 0r ~/.vim/templates/Makefile augroup END endif