]> code.delx.au - dotfiles/commitdiff
Vim improvements
authorJames Bunton <jamesbunton@delx.net.au>
Thu, 17 Jan 2008 16:04:05 +0000 (03:04 +1100)
committerJames Bunton <jamesbunton@delx.net.au>
Thu, 17 Jan 2008 16:04:05 +0000 (03:04 +1100)
 * XHTML 1.1 template
 * Macros for :Wn and :Wp

.vim/abbrs/xhtmltemplate.xhtml [new file with mode: 0644]
.vim/macros.vim

diff --git a/.vim/abbrs/xhtmltemplate.xhtml b/.vim/abbrs/xhtmltemplate.xhtml
new file mode 100644 (file)
index 0000000..1aac5c7
--- /dev/null
@@ -0,0 +1,16 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
+  "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
+<head>
+       <title>___</title>
+       <link rel="stylesheet" type="text/css" href="___" />
+       <script type="text/javascript" src="___"/>
+</head>
+
+<body>
+___
+</body>
+
+</html>
+
index 8e0f2f3253751684c8b8599b4fd871708fad671f..62b5e2a3832635c9b5167dae611457bab52ea5e5 100644 (file)
@@ -11,6 +11,10 @@ command! Wa :wa
 command! WQ :wq
 command! Wq :wq
 command! W :w
+command! Wn :wn
+command! WN :wn
+command! Wp :wp
+command! WP :wp
 command! QA :qa
 command! Qa :qa
 command! Q :q