File tree 2 files changed +28
-2
lines changed
2 files changed +28
-2
lines changed Original file line number Diff line number Diff line change 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
2
2
3
3
VIM USER MANUAL - by Bram Moolenaar
4
4
@@ -449,6 +449,19 @@ Vim を再起動するとプラグインがアクティブになり、以下で
449
449
とができます: >
450
450
:h editorconfig.txt
451
451
452
+
453
+ コメントパッケージの追加 *comment-install*
454
+
455
+ 以下のコマンドを使用してプラグインをロードします: >
456
+ packadd comment
457
+ <
458
+ こうすることで、コメント用の `gc` および同じようなデフォルトキーバインディング
459
+ (Vim コミュニティでは定評のあるマッピングです) でプラグインを使用できます。
460
+
461
+ この行を vimrc ファイルに追加した場合は、Vim を再起動してパッケージを読み込む
462
+ 必要があります。パッケージがロードされたら、以下を読んでください: >
463
+ :h comment.txt
464
+
452
465
パッケージについてのより詳しい情報は次の項目を参照してください: | packages |
453
466
454
467
==============================================================================
Original file line number Diff line number Diff line change 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
2
2
3
3
VIM USER MANUAL - by Bram Moolenaar
4
4
@@ -436,6 +436,19 @@ when Vim starts, add the following line to your vimrc file: >
436
436
After restarting your Vim, the plugin is active and you can read about it at: >
437
437
:h editorconfig.txt
438
438
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
+
439
452
More information about packages can be found here: | packages | .
440
453
441
454
==============================================================================
You can’t perform that action at this time.
0 commit comments