File tree Expand file tree Collapse file tree 2 files changed +28
-2
lines changed Expand file tree Collapse file tree 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
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==============================================================================
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
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==============================================================================
You can’t perform that action at this time.
0 commit comments