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

32835Re: map in autocmd

Expand Messages
  • Mikolaj Machowski
    Oct 2, 2002
    • 0 Attachment
      On Tue, 1 Oct 2002, Pascal Brugier wrote:

      > Hi
      >
      > I made a map to remove signature in a mail forward:
      >
      > map! ,W /^.*> -- $<CR><Esc>ma<Esc>/^$<CR><Esc>mb<Esc>:'a,'bd<CR><Esc>
      >

      I don't know how to solve main problem but you can make map a bit shorter:

      map! ,W /^.*> -- $<CR>V/^$<CR>d

      Mikolaj
    • Show all 6 messages in this topic