summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul W. Frields <stickster@gmail.com>2005-12-23 22:57:30 +0000
committerPaul W. Frields <stickster@gmail.com>2005-12-23 22:57:30 +0000
commitabd288f71df42ac1f3b264b1af770b1b1f47e89e (patch)
tree48efd1032466b5cecb951209515b46af766eed03
parent924d927aed2a3f96f63c7a7fe3fd82e82693f7d2 (diff)
downloaddocumentation-guide-abd288f71df42ac1f3b264b1af770b1b1f47e89e.tar.gz
documentation-guide-abd288f71df42ac1f3b264b1af770b1b1f47e89e.tar.xz
documentation-guide-abd288f71df42ac1f3b264b1af770b1b1f47e89e.zip
Fix alignment and eliminate invalid tag
-rw-r--r--docs-vim-en.xml20
1 files changed, 7 insertions, 13 deletions
diff --git a/docs-vim-en.xml b/docs-vim-en.xml
index 8671080..e5bb9b4 100644
--- a/docs-vim-en.xml
+++ b/docs-vim-en.xml
@@ -1,4 +1,4 @@
-<!-- $Id: docs-vim-en.xml,v 1.1 2004/03/18 20:25:02 tfox Exp $ -->
+<!-- $Id: docs-vim-en.xml,v 1.2 2005/12/23 22:57:30 pfrields Exp $ -->
<chapter id="ch-vim">
<title>VIM and DocBook</title>
@@ -30,8 +30,7 @@
some VIM features useful for editing SGML or XML content such as
DocBook:
<screen>
-<computeroutput>
-" Turn off vi compatibility settings like limited undo
+<computeroutput>" Turn off vi compatibility settings like limited undo
set nocompatible
" Syntax highlighting based on file extension
syntax on
@@ -40,8 +39,7 @@ set textwidth=80
" Automatically indent
set autoindent
" Match SGML tags with %
-source $VIMRUNTIME/macros/matchit.vim
-</computeroutput>
+source $VIMRUNTIME/macros/matchit.vim</computeroutput>
</screen>
</para>
<note>
@@ -71,10 +69,8 @@ source $VIMRUNTIME/macros/matchit.vim
can save it in a separate file and load it with a
<userinput>source</userinput> command in your
<filename>.vimrc</filename>.
- <screen>
- <programlisting>
- <![CDATA[
-let mapleader = ","
+<screen>
+<![CDATA[let mapleader = ","
" skip ahead to after next tag without leaving insert mode
imap <leader>e <esc>/><cr>:nohlsearch<cr>a
@@ -99,10 +95,8 @@ imap<leader>sy <systemitem class="systemname"></systemitem><esc>F>a
imap<leader>cm <command></command><esc>F>a
" entities
imap <leader>> &gt;
-imap <leader>< &lt;
-]]>
- </programlisting>
- </screen>
+imap <leader>< &lt;]]>
+</screen>
</para>
<para>
Unfortunately, there is not currently a complete macro set for all