discuss: For all you Vim users out there


Previous by date: 14 Sep 2001 01:33:52 -0000 Re: Reader of HOWTO in tcl/tk., David Merrill
Next by date: 14 Sep 2001 01:33:52 -0000 where is www.sgmltools.org, Vivek Venugopalan
Previous in thread: 14 Sep 2001 01:33:52 -0000 Re: For all you Vim users out there, David Merrill
Next in thread:

Subject: Re: For all you Vim users out there
From: David Lawyer ####@####.####
Date: 14 Sep 2001 01:33:52 -0000
Message-Id: <20010913170506.I304@lafn.org>

On Thu, Sep 13, 2001 at 10:15:17PM +0530, Vivek Venugopalan wrote:
> Hi Everyone
>   I have created a VIM script that will help write docbook documents. 

Here's what I uses for linuxdoc.  I also had ones for typewriter font
but that doesn't seem to translate into docbook very well (since a
font is represnts presentation rather than a content).  The reason
each is shown twice is that one is for use in command mode (nmap)
while the other is for use in insert mode (imap).  The typed code for
them is the same in both modes.
:nmap ;r i<sect>
:imap ;r <sect>
:nmap ;s i<sect1>
:imap ;s <sect1>
:nmap ;t i<sect2>
:imap ;t <sect2>
:nmap ;i i<item>
:imap ;i <item>
:nmap ;j i<itemize>
:imap ;j <itemize>
:nmap ;k i</itemize>
:imap ;k </itemize>
:nmap ;p i<p>
:imap ;p <p>
			David Lawyer

Previous by date: 14 Sep 2001 01:33:52 -0000 Re: Reader of HOWTO in tcl/tk., David Merrill
Next by date: 14 Sep 2001 01:33:52 -0000 where is www.sgmltools.org, Vivek Venugopalan
Previous in thread: 14 Sep 2001 01:33:52 -0000 Re: For all you Vim users out there, David Merrill
Next in thread:


  ©The Linux Documentation Project, 2014. Listserver maintained by dr Serge Victor on ibiblio.org servers. See current spam statz.