Skip to content

Commit d78ea12

Browse files
committed
Update filetype.{txt,jax}
1 parent 592c82a commit d78ea12

File tree

2 files changed

+41
-4
lines changed

2 files changed

+41
-4
lines changed

doc/filetype.jax

+20-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*filetype.txt* For Vim バージョン 9.1. Last change: 2025 Mar 10
1+
*filetype.txt* For Vim バージョン 9.1. Last change: 2025 Mar 15
22

33

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

634+
GIT REBASE *ft-gitrebase-plugin*
635+
636+
gitrebase ファイルタイプは、対話型の `git rebase` を支援するために、以下のバッ
637+
ファローカルなコマンドを定義する: >
638+
639+
:Drop " このコミットを破棄する
640+
:Edit " このコミットの編集をやめる
641+
:Fixup " 前のコミットにまとめる (ただし、メッセージは破棄する)
642+
:Pick " このコミットを選択する (カーソルはオン)
643+
:Reword " このコミットを選択するが、コミットメッセージを変更する
644+
:Squash " このコミットを前のコミットにまとめる
645+
646+
さらに、以下のコマンドを使用して異なる選択肢を切り替えることができる: >
647+
648+
:Cycle " 前のコマンドを切り替える
649+
<
650+
`:Cycle` コマンドは、CTRL-A キーと CTRL-X キーにもマップされる。詳細については
651+
`git-rebase --help` を参照。
634652

635653
GO *ft-go-plugin*
636654

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

767-
MAN *ft-man-plugin* *:Man* *:ManReload* *man.vim*
785+
MAN *ft-man-plugin* *:Man* *:ManReload* *man.vim*
768786

769787
このプラグインはマニュアルページを洗練された方法で表示する。ユーザーマニュアル
770788
の詳細な情報は |find-manpage| も参照のこと。

en/filetype.txt

+21-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*filetype.txt* For Vim version 9.1. Last change: 2025 Mar 10
1+
*filetype.txt* For Vim version 9.1. Last change: 2025 Mar 15
22

33

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

643+
GIT REBASE *ft-gitrebase-plugin*
644+
645+
The gitrebase filetype defines the following buffer-local commands, to help
646+
with interactive `git rebase`: >
647+
648+
:Drop " to discard this commit
649+
:Edit " to stop for editing this commit
650+
:Fixup " to squash (but discard the message) into the previous one
651+
:Pick " to pick this commit (the cursor is on)
652+
:Reword " to pick this commit, but change the commit message
653+
:Squash " to squash this commit into the previous one
654+
655+
In addition, the following command can be used to cycle between the different
656+
possibilities: >
657+
658+
:Cycle " to cycle between the previous commands
659+
<
660+
The `:Cycle` command is also mapped to the CTRL-A and CTRL-X keys.
661+
For details, see `git-rebase --help`.
643662

644663
GO *ft-go-plugin*
645664

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

779-
MAN *ft-man-plugin* *:Man* *:ManReload* *man.vim*
798+
MAN *ft-man-plugin* *:Man* *:ManReload* *man.vim*
780799

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

0 commit comments

Comments
 (0)