" Vim filetype plugin file " Language: CVS " Maintainer: Lubomir Host 'rajo' " License: GNU GPL " Version: $Platon: vimconfig/vim/ftplugin/cvs.vim,v 1.5 2003/02/28 02:02:26 rajo Exp $ " Only do this when not done yet for this buffer if exists("b:did_ftplugin") finish endif let b:did_ftplugin = 1 setlocal nomodeline setlocal textwidth=72 setlocal formatoptions=crqt12 setlocal autoindent " Replace with 4 spaces setlocal tabstop=4 setlocal shiftwidth=4 setlocal expandtab " Comment lines: setlocal comments+=:CVS\:\ " Add mappings, unless the user didn't want this. if !exists("no_plugin_maps") && !exists("no_cvs_maps") " Ctrl-F reformat paragraph if !hasmapto('CVSFormat') imap CVSFormat map CVSFormat endif inoremap CVSFormat mfggvG$='fi noremap CVSFormat mfggvG$='f vnoremap CVSFormat mfggvG$='f endif " Modeline {{{ " vim:set ts=4: " vim600:fdm=marker fdl=0 fdc=3 " }}}