Skip to content
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

Update filetype.{txt,jax} #1991

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
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
22 changes: 20 additions & 2 deletions doc/filetype.jax
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*filetype.txt* For Vim バージョン 9.1. Last change: 2025 Mar 10
*filetype.txt* For Vim バージョン 9.1. Last change: 2025 Mar 15


VIMリファレンスマニュアル by Bram Moolenaar
Expand Down Expand Up @@ -631,6 +631,24 @@ GIT COMMIT *ft-gitcommit-plugin*
ンドが提供されている。このコマンドを実行すると、その引数をつけて "git diff
--cached" が実行される。

GIT REBASE *ft-gitrebase-plugin*

gitrebase ファイルタイプは、対話型の `git rebase` を支援するために、以下のバッ
ファローカルなコマンドを定義する: >

:Drop " このコミットを破棄する
:Edit " このコミットの編集をやめる
:Fixup " 前のコミットにまとめる (ただし、メッセージは破棄する)
:Pick " このコミットを選択する (カーソルはオン)
:Reword " このコミットを選択するが、コミットメッセージを変更する
:Squash " このコミットを前のコミットにまとめる

さらに、以下のコマンドを使用して異なる選択肢を切り替えることができる: >

:Cycle " 前のコマンドを切り替える
<
`:Cycle` コマンドは、CTRL-A キーと CTRL-X キーにもマップされる。
詳細については `git-rebase --help` を参照。

GO *ft-go-plugin*

Expand Down Expand Up @@ -764,7 +782,7 @@ MAIL *ft-mail-plugin*
位置からファイル末端までのテキストを引用する。これは全ての行に "> " が
挿入されることを意味している。

MAN *ft-man-plugin* *:Man* *:ManReload* *man.vim*
MAN *ft-man-plugin* *:Man* *:ManReload* *man.vim*

このプラグインはマニュアルページを洗練された方法で表示する。ユーザーマニュアル
の詳細な情報は |find-manpage| も参照のこと。
Expand Down
23 changes: 21 additions & 2 deletions en/filetype.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*filetype.txt* For Vim version 9.1. Last change: 2025 Mar 10
*filetype.txt* For Vim version 9.1. Last change: 2025 Mar 15


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -640,6 +640,25 @@ One command, :DiffGitCached, is provided to show a diff of the current commit
in the preview window. It is equivalent to calling "git diff --cached" plus
any arguments given to the command.

GIT REBASE *ft-gitrebase-plugin*

The gitrebase filetype defines the following buffer-local commands, to help
with interactive `git rebase`: >

:Drop " to discard this commit
:Edit " to stop for editing this commit
:Fixup " to squash (but discard the message) into the previous one
:Pick " to pick this commit (the cursor is on)
:Reword " to pick this commit, but change the commit message
:Squash " to squash this commit into the previous one

In addition, the following command can be used to cycle between the different
possibilities: >

:Cycle " to cycle between the previous commands
<
The `:Cycle` command is also mapped to the CTRL-A and CTRL-X keys.
For details, see `git-rebase --help`.

GO *ft-go-plugin*

Expand Down Expand Up @@ -776,7 +795,7 @@ Local mappings:
to the end of the file in Normal mode. This means "> " is inserted in
each line.

MAN *ft-man-plugin* *:Man* *:ManReload* *man.vim*
MAN *ft-man-plugin* *:Man* *:ManReload* *man.vim*

This plugin displays a manual page in a nice way. See |find-manpage| in the
user manual for more information.
Expand Down