Re:  Whythere is folder called vimfiles?
- Antoine J. Mechelynck <antoine.mechelynck@...> wrote:
> Sanjeev Sapre <SanjeevS@...> wrote:Oops! Forgot \vim between Program Files and \vimfiles (here and under 4
> > Hello,
> > When I install VIM on windows. I have two folders under vim. viz.
> > vim63 and vimfiles. It is observed that vim63 and vimfiles have same
> > subfolders. But vimfiles has no any files in subfolders. What is the
> > purpose of these folder? Can I remove it ?
> > Regards,
> > Sanjeev Sapre
> :help 'runtimepath'
> :help :runtime (and note the case "with exclamation mark")
> The directories in 'runtimepath' are roots of directory trees with
> the same structure; they have slightly different uses:
> 1) $VIMRUNTIME (for instance C:\Program Files\vim\vim63): scripts
> installed with the distribution
> 2) $VIM/vimfiles (for instance C:\Program Files\vimfiles): scripts
> written or downloaded by the user to replace totally scripts from the
> distribution, or to make up for scripts missing in the distribution.
> These scripts are system-wide.
> 3) $HOME/vimfiles or $HOME/.vim (for instance C:\Documents and
> Settings\JohnSmith\vimfiles on Windows or /home/johnsmith/.vim on
> Unix): same as (2) above, but for one user only.
> 4) $VIM/vimfiles/after (for instance C:\Program Files\vimfiles\after):
> scripts to slighly modify scripts of the same name and tree position
> in (1) above. System-wide.
> 5) $HOME/vimfiles/after or $HOME/.vim/after (for instance
> C:\Documents and Settings\JohnSmith\vimfiles\after or
> /home/johnsmith/.vim/after): small changes to scripts in (1), (2)
> and/or (4) above. User-private.
> Many other Vim commands run internally the equivalent of a runtime!