Skip to content

Update usr_05.{txt,jax} #1538

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion doc/usr_05.jax
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*usr_05.txt* For Vim バージョン 9.1. Last change: 2023 Sep 12
*usr_05.txt* For Vim バージョン 9.1. Last change: 2024 May 17

VIM USER MANUAL - by Bram Moolenaar

Expand Down Expand Up @@ -449,6 +449,19 @@ Vim を再起動するとプラグインがアクティブになり、以下で
とができます: >
:h editorconfig.txt


コメントパッケージの追加 *comment-install*

以下のコマンドを使用してプラグインをロードします: >
packadd comment
<
こうすることで、コメント用の `gc` および同じようなデフォルトキーバインディング
(Vim コミュニティでは定評のあるマッピングです) でプラグインを使用できます。

この行を vimrc ファイルに追加した場合は、Vim を再起動してパッケージを読み込む
必要があります。パッケージがロードされたら、以下を読んでください: >
:h comment.txt

パッケージについてのより詳しい情報は次の項目を参照してください: |packages|

==============================================================================
Expand Down
15 changes: 14 additions & 1 deletion en/usr_05.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*usr_05.txt* For Vim version 9.1. Last change: 2023 Sep 12
*usr_05.txt* For Vim version 9.1. Last change: 2024 May 17

VIM USER MANUAL - by Bram Moolenaar

Expand Down Expand Up @@ -436,6 +436,19 @@ when Vim starts, add the following line to your vimrc file: >
After restarting your Vim, the plugin is active and you can read about it at: >
:h editorconfig.txt


Adding comment package *comment-install*

Load the plugin with this command: >
packadd comment
<
This way you can use the plugin with the default key bindings `gc` and similar
for commenting (which is a well-established mapping in the Vim community).

If you add this line to your vimrc file, then you need to restart Vim to have
the package loaded. Once the package is loaded, read about it at: >
:h comment.txt

More information about packages can be found here: |packages|.

==============================================================================
Expand Down