3

It's described in :h startup/§:h load-plugins. You'll see that indeed plugin files are loaded only once. Yet, most plugin files have guards. They mainly serve to permit end-user to not load an installed plugin file. This was particularly useful in the old days when we didn't have 'runtimepath' managers (aka plugin managers), nor vim 8 packages, or when ...


2

Most “core” filetype features are covered by autocommands, so disabling them will have the effect that you want. But we only want to disable them when opening a particular file, so :noautocmd edit {file} I’ll update with more information on the autocommands and features when I get to my laptop.


2

To just add a bit more to this, take a look at :help expression-syntax specifically expr9 which shows you can use &option to evaluate the option to its numerical value. In Vimscript, 0 is false and non-zero is true. With that said, cp is an abbreviation of compatible and that means the if condition is checking the numeric value of the boolean compatible ...


Only top voted, non community-wiki answers of a minimum length are eligible