sponsor Vim development Vim logo Vim Book Ad

signature_block.vim : Add and manipulate signature blocks in e-mails

 script karma  Rating 3/3, Downloaded by 520  Comments, bugs, improvements  Vim wiki

created by
Antonio Ospite
 
script type
utility
 
description
signature_block.vim is a simple plugin for adding and manipulating signature blocks in e-mails.

It provides handy functions that can be called from maps or autocommands.

There are other scripts offering similar functionality, see vimscript #45 or vimscript #10 or vimscript #509 but signature_block.vim is easier to understand and it can be easily extended.

The upstream git repository is available at:
https://git.ao2.it/vim/signature_block.vim.git/
 
install details
Drop the signature_block.vim file into your $HOME/.vim/plugin directory and call it from autocmd, like that:

" Replace the git version with a signature in cover letters generated with git-format-patch
autocmd BufRead 0000-cover-letter.patch if ReplaceLastSignature('~/.signature') | w | endif
autocmd BufRead 0000-cover-letter.patch autocmd! BufRead 0000-cover-letter.patch
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
signature_block.vim 0.2 2016-06-08 7.0 Antonio Ospite - Check that the signature file is readable before removing the old signature and append the new one.
- Minor fixes.
signature_block.vim 0.1 2009-11-26 6.0 Antonio Ospite Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
OSDN.net Logo