| Vim tutorial for those who find vi hard | |
|---|---|
| First steps with Vim | |
| Vim scripts | |
| Script | Purpose |
| SpellChecker v1.8 | Spell check using Vim's syntax coloring facility. Screenshot. Works with LaTeX documents. Three English dialects: American, British and Canadian. Download. |
| isi2bib v1.0 | Convert a bibliographic database from ISI to BIBTeX format |
| tex_input | Insert mode mappings for LaTeX (; dead key for Greek letters and math symbols, ! dead key for environments) |
| tex_env | Put a LaTeX environment around a visual region. |
| comments | Turn a line of code into a comment and vice versa. Setup for 20 filetypes including Fortran and LaTeX. |
| fortran_stubs | Insert Fortran code snippets |
| dawn v1.2 | Color scheme with a light grey background. Screenshot |
| mruex v1.4 | MRU (most recently used) file explorer |
| favex v1.1 | Favorite file and directory explorer |
| Fortran support files. The current versions were distributed with Vim 7. | |||
|---|---|---|---|
| Fortran syntax files | |||
| Vim version | Syntax file | Documentation | Screenshot |
| 6.0 to 7.0 | v0.88 | fort60.htm | Syntax folding |
| 5.7 or 5.8 | v0.88 | fort578.htm | No folding |
| 5.4 to 5.6 | v0.87a | fort578.htm See install.txt. Deprecated. | |
| Fortran indent files | |||
| Vim version | Indent file | Documentation | |
| 6.0 to 7.0 | v0.37 | fort60.htm | |
| Fortran ftplugin files | |||
| Vim version | Ftplugin file | Documentation | |
| 6.0 to 7.0 | v0.45 | fort60.htm | |
| Fortran compiler files | |||
| Vim version | Compiler file | Compiler | |
| 6.0 to 7.0 | v0.2 | Fortran Company | |
| 6.0 to 7.0 | v0.2 | Lahey elf90 | |
| 6.0 to 7.0 | v0.2 | Lahey/Fujitsu F95 | |
| Tags | ||||
|---|---|---|---|---|
| Exuberant ctags is a program to generate tags for Fortran and other programming languages. Vim understands these tags and you can use them to navigate your code. The official ctags (v5.5.4) does not support LaTeX or BIBTeX. Therefore I offer: | ||||
| ec554_latex_bibtex: A ctags Win32 binary with LaTeX and BIBTeX support added. | ||||
| ec554src_latex_bibtex.zip Changes to the source code of exuberant ctags v5.5.4 to add LaTeX and BIBTeX support. This works with the free Borland compiler. | ||||
| If you want to use the LaTeX and/or BIBTeX tags generated by
this modified version of exuberant ctags with the taglist plugin script
mentioned below, put the following lines in your vimrc: let tlist_tex_settings='latex;b:bibitem;c:command;e:environment;l:label' let tlist_bib_settings='bibtex;a:article;b:book;m:misc;p:part;s:string;t:thesis' |
| Vim-related links | |
|---|---|
| Vim Online | the site for Vim source code, binaries, documentation, scripts and tips. |
| Matchit | a Vim script to extend % matching to Fortran, LaTeX, HTML and other languages. |
| taglist | a Vim script that makes the use of ctags easier. |