|
VIM Pages Main Page Colorschemes Ftplugins Indent Miscellaneous Plugins Syntax Files User Manual
Download Ftplugin Files dosbatch.vim (1KB) postscr.vim (1KB) Both
zipped (2KB)
Internet Links VIM Online |
VIM Ftplugin Files
|
I currently maintain some ftplugin files that are part of the standard VIM distribution.
Check VIM Online for other ftplugin files as well as plugins, syntax files, and tips. |
| DOS batch |
|
The DOS batch ftplugin file sets VIM up for automatic formatting of Batch file comments. When you start a new line before or after a comment VIM will automatically start the new line with the same
comment as the original. Auto-wrap of file text is also turned off if you have textwidth set, but this does not apply to comments.
updated! The ftplugin file has been updated to support comment lines starting with @rem and @REM. This new version will be included in the forthcoming 6.2 release of VIM, but you can download from here now.
|
| PostScript |
|
The PostScript ftplugin file sets VIM up for automatic formatting of PS file comments. This does not currently include DSC comments. Auto-wrap of file text is also turned off if you have textwidth set, but this does not apply to comments.
If you have enabled the matchit plugin (see VIM documentation) then the ftplugin file adds the following pairs of operators that can be jumped between with % command:
<< and >>
begin and end
save and restore
gsave and grestore
|
|