Vim Tips Wiki
(Move categories to tip template)
(Remove html character entities)
Line 75: Line 75:
   
 
==Comments==
 
==Comments==
 
----
 

Revision as of 05:40, 29 September 2008

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