On 10:11 Sun 07 Sep , alberto wrote: > Hi, i am new to vim but i want to use it instead of ide for several > programming languages, i have already read tutorials to make vim a python > and some other languages ide but my concern is the following, will vim > became too slow with so many languages support or when use vim to open a .py > vim will just be slowed down by the plugins i installed for python?. I > apologize in advance for my bad english, is not my original language, but if > the question has already been answer then post a link so i can have a better > understanding of how vim works.
There are two kind of plugins 'plugins' and 'filetype plugins', the first one are installed under ~/.vim/plugins, and the second ones under ~/.vim/ftplugins. The first ones are loaded whenever you open vim, the second ones load whenever you open a file of a particular filetype (like python, javascript, c, ...) - so they will only slow down opening such files. Note that since plugins (not filetype plugins), are loaded on vim start, they will not slowdown opening new files in an existing vim process. If you have lots of plugins they vim will start slower since it has to evaluate all the scripts. I don't think you will have to many filetype plugins for a particular filetype - this never happened to me, though having too many plugins - this might happen eventually. Also there are some filetype plugins that are big and thus they slow down opening files. If vim gets slow when you are using it, it might be good idea to check if this is not because of syntax scripts which colour various filetypes. Then you can adjust how syntax is synced, see `:help syn-sync`, but if you sync too few lines syntax might become not accurate. Best regards, Marcin
signature.asc
Description: Digital signature