documentation-guide docs-vim-en.xml,1.1,1.2
Paul W. Frields (pfrields)
fedora-docs-commits at redhat.com
Fri Dec 23 22:57:38 UTC 2005
Author: pfrields
Update of /cvs/docs/documentation-guide
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8640
Modified Files:
docs-vim-en.xml
Log Message:
Fix alignment and eliminate invalid tag
Index: docs-vim-en.xml
===================================================================
RCS file: /cvs/docs/documentation-guide/docs-vim-en.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- docs-vim-en.xml 18 Mar 2004 20:25:02 -0000 1.1
+++ docs-vim-en.xml 23 Dec 2005 22:57:30 -0000 1.2
@@ -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 @@
" 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 @@
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>cm <command></command><esc>F>a
" entities
imap <leader>> >
-imap <leader>< <
-]]>
- </programlisting>
- </screen>
+imap <leader>< <]]>
+</screen>
</para>
<para>
Unfortunately, there is not currently a complete macro set for all
More information about the Fedora-docs-commits
mailing list