Vim logo vim online Vim Book Ad

basic Tip #367: What is this $VIMRUNTIME ?

 tip karma   Rating 3/7, Viewed by 935 

created:   November 8, 2002 13:03      complexity:   basic
author:   vim_power      as of Vim:   5.7

$VIMRUNTIME points to a directory where most of the files needed by Vim are kept.
As the name suggests these files are needed during "run-time". Though they are not necessary for
Vim to run, but they help in adding extra functionality to the basic Vim.

Here is a brief overview of files and directories in $VIMRUNTIME.

bugreport.vim :- Use this file if you think you have discovered a bug in VIM. see "help bugreport"
colors :- Contains various clorschemes. see ":help :colorscheme"
compiler :- Contains compilation scripts for various languages. see ":help :compiler"
delmenu.vim :- Deletes all Menu's
doc :- Contains Documentation :-)
evim.vim :- script for easy vim. see :help evim"
filetype.vim :- Detects filetype of files based on their extensions. see "help filetype"
ftoff.vim :- SOurce this to disable ditection of filetypes.
ftplugin :- Contains plugins that are loaded based on the filetype.
ftplugin.vim :- Enables flietype plugins
ftplugof.vim :- Disables filetype plugins
gvimrc_example.vim :- The name says it all, right :-)
indent :- contains indentaion scripts for various languages
indent.vim :- Enables indentation based on filetype.
indoff.vim :- Disables indentation based on filetype.
keymap :-  Contains keymap files for various encodings. see ":help keymap"
lang :- Contains Message files in different language. see ":help language"
macros :- Contains variuos cool stuff. read "macros/README.txt"
menu.vim :- Default Menus  
mswin.vim :- sets options for Vim to behave like Windows.
optwin.vim :- commands to create option window.
plugin :- Contains plugins. All .vim files in this directory are automatically sourced.
scripts.vim :- helps detect filetype in Vim scripts.
syntax :- Contains Syntax defination files for various programming languages.see ":help syntax"
tools :- Some useful tools. like blink to blink the cursor in xterm.
tutor :- Contains tutor.vim. see ":help tutor"
vim32x32.xpm :- Vim Logo.
vimrc_example.vim :- again name says it all.
~

 rate this tip  Life Changing Helpful Unfulfilling 

<<really basic RCS interaction from within vim | Use gvim in VS.Net >>

Additional Notes

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to [email protected] after searching the archive. Help Bram help Uganda.
SourceForge Logo