sponsor Vim development Vim logo Vim Book Ad

fortran_codecomplete.vim : Complete fortran constructs with <F7>

 script karma  Rating 38/19, Downloaded by 2522  Comments, bugs, improvements  Vim wiki

created by
Michael Goerz
 
script type
ftplugin
 
description
This script allows you to complete Fortran 90 structures by pressing <F7>.

The plugin in written in python, so you need to have your vim compiled with python support in order to use it.

The intention is to complete “program”, “type”, “interface”, “module”, “subroutine”, “function”, “do”, and “select” constructs. You write the first line of such a construct (e.g. “subroutine foo(a, b)”, then press <F7>, and the script will add the closing line “end subroutine foo” and put the cursor between the two lines, indented by one level.
 
install details
Put the file in ~/.vim/ftplugin
 

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
fortran_codecomplete.vim 0.9 2008-12-17 7.0 Michael Goerz Initial upload
ip used for rating: 18.221.129.19

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.
   
Vim at Github