# Vim pplugin

**URL:** <https://www.ruby-forum.com/t/vim-pplugin/164548>\
**Category:** Ruby\
**Created:** [April 2, 2009, 1:54pm UTC](https://www.ruby-forum.com/t/vim-pplugin/164548 "2009-04-02T13:54:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vetrivel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/dc4da7/32.png) [@vetrivel](https://www.ruby-forum.com/u/vetrivel)\
**Post date:** [April 2, 2009, 1:54pm UTC](https://www.ruby-forum.com/t/vim-pplugin/164548/1 "2009-04-02T13:54:34Z")

</div>

I need Automatic Header to \*.rb file.  
Example

```
       Filename: myprogram.rb

```

- 
- Description:
- 
- 

```
   Version: 1.0

```

- 

```
   Created: 01/19/09 20:23:25

```

- 

```
  Revision: none

```

Any vim plugin is there. I have vim plugin for perl . But I don’t have  
vim plugin for ruby.

---

<div class="post-metadata">

**Author:** ![vetrivel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/dc4da7/32.png) [@vetrivel](https://www.ruby-forum.com/u/vetrivel)\
**Post date:** [April 2, 2009, 2:40pm UTC](https://www.ruby-forum.com/t/vim-pplugin/164548/2 "2009-04-02T14:40:59Z")

</div>

2009/4/2 Vetrivel V. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> - 
> 
> ```
> Created: 01/19/09 20:23:25
> 
> ```
> 
> - 
> 
> ```
> Revision: none
> 
> ```
> 
> ## Any vim plugin is there. I have vim plugin for perl . But I don’t have vim plugin for ruby.
> 
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).

## why not write a script in ruby to generate that for you?

John M.  
07739 171 531  
MSc (DIC)

Timezone: GMT

---

<div class="post-metadata">

**Author:** ![vetrivel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/dc4da7/32.png) [@vetrivel](https://www.ruby-forum.com/u/vetrivel)\
**Post date:** [April 2, 2009, 4:38pm UTC](https://www.ruby-forum.com/t/vim-pplugin/164548/3 "2009-04-02T16:38:11Z")

</div>

On Thu, Apr 2, 2009 at 5:24 PM, Vetrivel V.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> 

This actually doesn’t have anything to do with ruby per se, but this  
might help:

> **[Vi and Vim Autocommand: 3 Steps to Add Custom Header To Your File Automatically](https://www.thegeekstuff.com/2008/12/vi-and-vim-autocommand-3-steps-to-add-custom-header-to-your-file/)**
>
> This is a guest post written by Lakshmanan G. This article is part of the ongoing Vi / Vim Tips & Tricks series. Using autocommand feature in Vi / Vim, you can specify some Vim commands to be executed automatically while reading or writing a file, or...

btw, that’s the first hit for google search ‘vim generate file headers’  
cheers,  
lasitha.
