Skip to content

Commit e47be79

Browse files
authored
Merge pull request #1538 from vim-jp/hh-update-usr_05
Update usr_05.{txt,jax}
2 parents 4129f34 + 014873d commit e47be79

File tree

2 files changed

+28
-2
lines changed

2 files changed

+28
-2
lines changed

doc/usr_05.jax

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*usr_05.txt* For Vim バージョン 9.1. Last change: 2023 Sep 12
1+
*usr_05.txt* For Vim バージョン 9.1. Last change: 2024 May 17
22

33
VIM USER MANUAL - by Bram Moolenaar
44

@@ -449,6 +449,19 @@ Vim を再起動するとプラグインがアクティブになり、以下で
449449
とができます: >
450450
:h editorconfig.txt
451451
452+
453+
コメントパッケージの追加 *comment-install*
454+
455+
以下のコマンドを使用してプラグインをロードします: >
456+
packadd comment
457+
<
458+
こうすることで、コメント用の `gc` および同じようなデフォルトキーバインディング
459+
(Vim コミュニティでは定評のあるマッピングです) でプラグインを使用できます。
460+
461+
この行を vimrc ファイルに追加した場合は、Vim を再起動してパッケージを読み込む
462+
必要があります。パッケージがロードされたら、以下を読んでください: >
463+
:h comment.txt
464+
452465
パッケージについてのより詳しい情報は次の項目を参照してください: |packages|
453466

454467
==============================================================================

en/usr_05.txt

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*usr_05.txt* For Vim version 9.1. Last change: 2023 Sep 12
1+
*usr_05.txt* For Vim version 9.1. Last change: 2024 May 17
22

33
VIM USER MANUAL - by Bram Moolenaar
44

@@ -436,6 +436,19 @@ when Vim starts, add the following line to your vimrc file: >
436436
After restarting your Vim, the plugin is active and you can read about it at: >
437437
:h editorconfig.txt
438438
439+
440+
Adding comment package *comment-install*
441+
442+
Load the plugin with this command: >
443+
packadd comment
444+
<
445+
This way you can use the plugin with the default key bindings `gc` and similar
446+
for commenting (which is a well-established mapping in the Vim community).
447+
448+
If you add this line to your vimrc file, then you need to restart Vim to have
449+
the package loaded. Once the package is loaded, read about it at: >
450+
:h comment.txt
451+
439452
More information about packages can be found here: |packages|.
440453

441454
==============================================================================

0 commit comments

Comments
 (0)