I have huge file and quite slow plugin (loaded by vim-plug) for corresponding filetype. I want following:
- Plugin is loaded by default
- Option to fast open this file without loading plugin. Something like: turn all plugins off, load buffer, turn all plugins on.
UPD. In my case I want to copy some content of buffer
A, then quickly and temporary read huge file to buffer
B, paste content and save buffer
B to huge file, and then return to buffer
A. When I read huge file to buffer
B I want all plugins to be turned off so reading is fast.
P.S. I've tried
:edit +cmd ++opt but it doesn't help:
:edit +filetype\ off file.org :edit +se\ filetype=off file.org
it seems that options apply after opening the file and loading plugins.
:noautocmd edit file.orgwork?
:noautocmd editbut I see that @Ben already got it covered... Please post as an answer Ben!