Loading ...
Sorry, an error occurred while loading the content.

Re: iabbrev

Expand Messages
  • uws
    ... Hope this helps. mvrgr, Wouter -- ... cold silence has a tendency to atrophy any sense of compassion -- tool
    Message 1 of 2 , Jul 31, 2003
    • 0 Attachment
      På Thu, Jul 31, 2003 at 01:29:42PM +0300, maoz skrev:
      > Following is an abbreviations i want to use.
      > iabbrev #h ---<CR>-- Author:<CR>-- Date: <CR>--File: <CR>-- Desc:<CR>--

      > How can i insert the following date next to <CR>-- Date:...?
      > iabbrev dt <C-R>=strftime("%a %d %b %Y")<CR>

      Use a mapping like this:

      :imap #h ---<CR>-- Author:<CR>-- Date: <C-R>=strftime("%a %d %b %Y")<CR><CR>-- File: <C-R>=expand("%:p")<CR><CR>-- Desc:<CR>--

      Hope this helps.

      mvrgr, Wouter

      --
      :wq mail uws@...

      cold silence has a tendency to atrophy any sense of compassion -- tool
    • maoz
      Hi, Following is an abbreviations i want to use. iabbrev #h --- -- Author: -- Date: --File: -- Desc: -- How can i insert the following date
      Message 2 of 2 , Jul 31, 2003
      • 0 Attachment
        Hi,
        Following is an abbreviations i want to use.
        iabbrev #h ---<CR>-- Author:<CR>-- Date: <CR>--File: <CR>-- Desc:<CR>--

        How can i insert the following date next to <CR>-- Date:...?
        iabbrev dt <C-R>=strftime("%a %d %b %Y")<CR>


        Maoz.
      Your message has been successfully submitted and would be delivered to recipients shortly.