Vim Tips Wiki
m (What is this $VIMRUNTIME ? moved to Understanding VIMRUNTIME: Page moved by JohnBot to improve title)
(Change to TipImported template + severe manual clean)
Line 1: Line 1:
 
{{review}}
 
{{review}}
  +
{{TipImported
{{Tip
 
 
|id=367
 
|id=367
  +
|previous=366
|title=What is this $VIMRUNTIME ?
 
  +
|next=368
|created=November 8, 2002 13:03
+
|created=November 8, 2002
 
|complexity=basic
 
|complexity=basic
 
|author=vim_power
 
|author=vim_power
 
|version=5.7
 
|version=5.7
 
|rating=5/11
 
|rating=5/11
 
}}
|text=
 
$VIMRUNTIME points to a directory where most of the files needed by Vim are kept.
+
$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
+
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.
Vim to run, but they help in adding extra functionality to the basic Vim.
 
   
 
bugreport.vim – Use this file if you think you have discovered a bug in Vim. See {{help|bugreport.vim}}.
   
 
colors – Contains various clorschemes. See {{help|:colorscheme}}.
   
 
compiler – Contains compilation scripts for various languages. See {{help|:compiler}}.
Here is a brief overview of files and directories in $VIMRUNTIME.
 
   
 
delmenu.vim – Deletes all Menu's
   
 
doc – Contains Documentation
   
  +
evim.vim – script for easy vim. See {{help|evim}}.
bugreport.vim :- Use this file if you think you have discovered a bug in VIM. see "help bugreport"
 
   
 
filetype.vim – Detects filetype of files based on their extensions. See {{help|filetype}}.
colors :- Contains various clorschemes. see ":help :colorscheme"
 
   
 
ftoff.vim – SOurce this to disable ditection of filetypes.
compiler :- Contains compilation scripts for various languages. see ":help :compiler"
 
   
  +
ftplugin – Contains plugins that are loaded based on the filetype.
delmenu.vim :- Deletes all Menu's
 
   
 
ftplugin.vim – Enables flietype plugins
doc :- Contains Documentation :-)
 
   
 
ftplugof.vim – Disables filetype plugins
evim.vim :- script for easy vim. see [http://vimplugin.sf.net/cgi-bin/help?tag={{urlencode:evim}} :help evim]"
 
   
  +
gvimrc_example.vim – Example of gvimrc
filetype.vim :- Detects filetype of files based on their extensions. see "help filetype"
 
   
 
indent – contains indentaion scripts for various languages
ftoff.vim :- SOurce this to disable ditection of filetypes.
 
   
ftplugin :- Contains plugins that are loaded based on the filetype.
+
indent.vim – Enables indentation based on filetype.
   
 
indoff.vim – Disables indentation based on filetype.
ftplugin.vim :- Enables flietype plugins
 
   
 
keymap – Contains keymap files for various encodings. See {{help|'keymap'}}.
ftplugof.vim :- Disables filetype plugins
 
   
 
lang – Contains Message files in different language. See {{help|:language}}.
gvimrc_example.vim :- The name says it all, right :-)
 
   
 
macros – Contains variuos cool stuff. read "macros/README.txt"
indent :- contains indentaion scripts for various languages
 
   
 
menu.vim – Default Menus
indent.vim :- Enables indentation based on filetype.
 
   
 
mswin.vim – sets options for Vim to behave like Windows.
indoff.vim :- Disables indentation based on filetype.
 
   
 
optwin.vim – commands to create option window.
keymap :- Contains keymap files for various encodings. see "[http://vimplugin.sf.net/cgi-bin/help?tag={{urlencode:keymap}} :help keymap]"
 
   
 
plugin – Contains plugins. All .vim files in this directory are automatically sourced.
lang :- Contains Message files in different language. see "[http://vimplugin.sf.net/cgi-bin/help?tag={{urlencode:language}} :help language]"
 
   
 
scripts.vim – helps detect filetype in Vim scripts.
macros :- Contains variuos cool stuff. read "macros/README.txt"
 
   
 
syntax – Contains Syntax definition files for various programming languages. See {{help|syntax}}.
menu.vim :- Default Menus
 
   
 
tools &ndash; Some useful tools. Like <tt>blink</tt> to blink the cursor in xterm.
mswin.vim :- sets options for Vim to behave like Windows.
 
   
  +
tutor &ndash; Contains tutor.vim. See {{help|tutor}}.
optwin.vim :- commands to create option window.
 
   
 
vim32x32.xpm &ndash; Vim Logo.
plugin :- Contains plugins. All .vim files in this directory are automatically sourced.
 
   
 
vimrc_example.vim &ndash; Example of vimrc.
scripts.vim :- helps detect filetype in Vim scripts.
 
   
 
==Comments==
syntax :- Contains Syntax defination files for various programming languages.see "[http://vimplugin.sf.net/cgi-bin/help?tag={{urlencode:syntax}} :help syntax]"
 
 
tools :- Some useful tools. like blink to blink the cursor in xterm.
 
 
tutor :- Contains tutor.vim. see "[http://vimplugin.sf.net/cgi-bin/help?tag={{urlencode:tutor}} :help tutor]"
 
 
vim32x32.xpm :- Vim Logo.
 
 
vimrc_example.vim :- again name says it all.
 
 
~
 
 
 
}}
 
   
  +
----
== Comments ==
 
<!-- parsed by vimtips.py in 0.599885 seconds-->
 

Revision as of 12:29, 2 November 2007

Tip 367 Printable Monobook Previous Next

created November 8, 2002 · complexity basic · author vim_power · version 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.vim.

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 – Example of gvimrc

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 definition 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 – Example of vimrc.

Comments