mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
runtime(doc): Added definitions of Vim scripts and plugins
closes: #14935 Signed-off-by: Ubaldo Tiberi <ubaldo.tiberi@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
parent
d6b4afb636
commit
c593b9ead9
@ -1,4 +1,4 @@
|
|||||||
*usr_41.txt* For Vim version 9.1. Last change: 2024 Jun 03
|
*usr_41.txt* For Vim version 9.1. Last change: 2024 Jun 09
|
||||||
|
|
||||||
VIM USER MANUAL - by Bram Moolenaar
|
VIM USER MANUAL - by Bram Moolenaar
|
||||||
|
|
||||||
@ -29,6 +29,22 @@ Table of contents: |usr_toc.txt|
|
|||||||
==============================================================================
|
==============================================================================
|
||||||
*41.1* Introduction *vim-script-intro* *script*
|
*41.1* Introduction *vim-script-intro* *script*
|
||||||
|
|
||||||
|
Let's start with some nomenclature. A Vim script is any file that Vim can
|
||||||
|
interpret and execute. This includes files written in Vim's scripting language
|
||||||
|
like for example .vim files or configuration files like .vimrc and .gvimrc.
|
||||||
|
These scripts may define functions, commands and settings that Vim uses to
|
||||||
|
customize and extend its behavior.
|
||||||
|
|
||||||
|
With a slight abuse of nomenclature, we will use "Vim script" to refer to the
|
||||||
|
Vim scripting language throughout this documentation. This shorthand helps to
|
||||||
|
streamline explanations and discussions about scripting with Vim.
|
||||||
|
|
||||||
|
A Vim plugin is a collection of one or more Vim scripts, along with additional
|
||||||
|
files like help documentation, configuration files, and other resources,
|
||||||
|
designed to add specific features or functionalities to Vim. A plugin can
|
||||||
|
provide new commands, enhance existing capabilities, and integrate external
|
||||||
|
tools or services into the Vim environment.
|
||||||
|
|
||||||
Your first experience with Vim scripts is the vimrc file. Vim reads it when
|
Your first experience with Vim scripts is the vimrc file. Vim reads it when
|
||||||
it starts up and executes the commands. You can set options to the values you
|
it starts up and executes the commands. You can set options to the values you
|
||||||
prefer, define mappings, select plugins and much more. You can use any colon
|
prefer, define mappings, select plugins and much more. You can use any colon
|
||||||
|
Loading…
x
Reference in New Issue
Block a user