Tip #130: disabling default ftplugins
tip karma |
Rating 2/2, Viewed by 682
|
created: |
|
October 8, 2001 5:05 |
|
complexity: |
|
intermediate |
author: |
|
Benji Fisher |
|
as of Vim: |
|
5.7 |
For an overview of ftplugins (filetype plugins) see
:help ftplugins
If you want to disable all ftplugins, or disable a particular default ftplugin, see
:help :filetype
:help ftplugin-overrule
If you have your own ftplugins, and you want to disable all the default ones, then
do NOT include a check for b:did_ftplugin in your ftplugin files, and add the line
:autocmd BufEnter * let b:did_ftplugin = 1
to your VIMRC file, BEFORE the ":filetype ftplugin on" line.
<<Removing automatic comment leaders |
Scroll alternate window >>
Additional Notes
|