Skip to content

Commit e502d43

Browse files
authored
Merge pull request #1578 from vim-jp/hh-update-usr_41
Update usr_41.{txt,jax}
2 parents 3576cbd + 823ce33 commit e502d43

File tree

2 files changed

+33
-2
lines changed

2 files changed

+33
-2
lines changed

doc/usr_41.jax

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*usr_41.txt* For Vim バージョン 9.1. Last change: 2024 Jun 03
1+
*usr_41.txt* For Vim バージョン 9.1. Last change: 2024 Jun 09
22

33
VIM USER MANUAL - by Bram Moolenaar
44

@@ -29,6 +29,21 @@ Vim script 言語は vimrc ファイルや構文ファイルなど、さまざ
2929
==============================================================================
3030
*41.1* はじめに *vim-script-intro* *script*
3131

32+
まず、いくつかの命名法から始めましょう。Vim script とは、Vim が解釈して実行で
33+
きるファイルのことです。これには、例えば .vim ファイルや .vimrc や .gvimrc 等
34+
の構成ファイル等、Vim のスクリプト言語で記述されたファイルが含まれます。
35+
これらのスクリプトは、Vim が動作をカスタマイズおよび拡張するために使用する、関
36+
数、コマンド、および設定を定義するでしょう。
37+
38+
命名法を少し乱用しますが、このドキュメント全体では Vim のスクリプト言語を指す
39+
ために "Vim script" を使用します。この略語は、Vim を使用したスクリプトに関する
40+
説明と議論を簡素化するのに役立ちます。
41+
42+
Vim プラグインは、1 つ以上の Vim script と、ヘルプドキュメント、構成ファイル、
43+
その他のリソース等の追加ファイルのコレクションであり、Vim に特定の特性や機能を
44+
追加するように設計されています。プラグインは、新しいコマンドを提供したり、既存
45+
の機能を強化したり、外部ツールやサービスを Vim 環境に統合したりできます。
46+
3247
誰もが最初に触れる Vim script は vimrc ファイルです。Vim が起動するときに読み
3348
込まれ、書かれているコマンドが実行されます。それにより好きなように設定の変更、
3449
マッピングの定義、プラグインの選択、そしてより多くのことができます。vimrc の中

en/usr_41.txt

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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
22

33
VIM USER MANUAL - by Bram Moolenaar
44

@@ -29,6 +29,22 @@ Table of contents: |usr_toc.txt|
2929
==============================================================================
3030
*41.1* Introduction *vim-script-intro* *script*
3131

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+
3248
Your first experience with Vim scripts is the vimrc file. Vim reads it when
3349
it starts up and executes the commands. You can set options to the values you
3450
prefer, define mappings, select plugins and much more. You can use any colon

0 commit comments

Comments
 (0)