Add skeleton.js
This commit is contained in:
parent
257998831d
commit
9c6017bb27
|
@ -0,0 +1,3 @@
|
|||
document.addEventListener('DOMContentLoaded', function initJs () {
|
||||
console.log('Hello, world!')
|
||||
})
|
|
@ -167,6 +167,7 @@ if has ("autocmd")
|
|||
autocmd BufNewFile *.md 0r ~/.vim/templates/skeleton.md
|
||||
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 Makefile 0r ~/.vim/templates/Makefile
|
||||
augroup END
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue