|
1 |
| -*usr_41.txt* For Vim version 9.1. Last change: 2024 Jun 03 |
| 1 | +*usr_41.txt* For Vim version 9.1. Last change: 2024 Jun 09 |
2 | 2 |
|
3 | 3 | VIM USER MANUAL - by Bram Moolenaar
|
4 | 4 |
|
@@ -29,6 +29,22 @@ Table of contents: |usr_toc.txt|
|
29 | 29 | ==============================================================================
|
30 | 30 | *41.1* Introduction *vim-script-intro* *script*
|
31 | 31 |
|
| 32 | +Let's start with some nomenclature. A Vim script is any file that Vim can |
| 33 | +interpret and execute. This includes files written in Vim's scripting language |
| 34 | +like for example .vim files or configuration files like .vimrc and .gvimrc. |
| 35 | +These scripts may define functions, commands and settings that Vim uses to |
| 36 | +customize and extend its behavior. |
| 37 | + |
| 38 | +With a slight abuse of nomenclature, we will use "Vim script" to refer to the |
| 39 | +Vim scripting language throughout this documentation. This shorthand helps to |
| 40 | +streamline explanations and discussions about scripting with Vim. |
| 41 | + |
| 42 | +A Vim plugin is a collection of one or more Vim scripts, along with additional |
| 43 | +files like help documentation, configuration files, and other resources, |
| 44 | +designed to add specific features or functionalities to Vim. A plugin can |
| 45 | +provide new commands, enhance existing capabilities, and integrate external |
| 46 | +tools or services into the Vim environment. |
| 47 | + |
32 | 48 | Your first experience with Vim scripts is the vimrc file. Vim reads it when
|
33 | 49 | it starts up and executes the commands. You can set options to the values you
|
34 | 50 | prefer, define mappings, select plugins and much more. You can use any colon
|
|
0 commit comments