summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vim/header_html10
-rw-r--r--vim/vimrc1
2 files changed, 11 insertions, 0 deletions
diff --git a/vim/header_html b/vim/header_html
new file mode 100644
index 0000000..45cfebc
--- /dev/null
+++ b/vim/header_html
@@ -0,0 +1,10 @@
+:insert
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
+ <head>
+ <title></title>
+ </head>
+ <body>
+ </body>
+</html>
diff --git a/vim/vimrc b/vim/vimrc
index d430ff4..c005add 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -24,3 +24,4 @@ imap <F1> <C-o>:echo<CR>
map <F1> :execute 'NERDTreeToggle'<CR>
autocmd bufnewfile *.py so ~/etc/vim/header_python
+autocmd bufnewfile *.html so ~/etc/vim/header_html