Skip to content

Commit c694eb4

Browse files
authored
Merge pull request #2233 from h-east/update-filetype
Update filetype.{txt,jax}
2 parents cfe2d44 + 6453547 commit c694eb4

File tree

2 files changed

+26
-6
lines changed

2 files changed

+26
-6
lines changed

doc/filetype.jax

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*filetype.txt* For Vim バージョン 9.1. Last change: 2025 May 10
1+
*filetype.txt* For Vim バージョン 9.1. Last change: 2025 Aug 06
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -1057,8 +1057,18 @@ TYPST *ft-typst-plugin*
10571057
<
10581058
VIM *ft-vim-plugin*
10591059

1060-
Vim ファイルタイププラグインは、[[ および ]] で関数の先頭および末尾に移動する
1061-
ためのマッピングを定義する。コメントの周辺には ]" および [" で移動する。
1060+
Vim ファイルタイププラグインは以下のマッピングを定義する:
1061+
1062+
[[ 前の関数の先頭に移動する
1063+
]] 次の関数の先頭に移動する
1064+
][ 前の関数の末尾に移動する
1065+
[] 次の関数の末尾に移動する
1066+
]" 次の (旧来の) コメントに移動する
1067+
[" 前の (旧来の) コメントに移動する
1068+
gf カーソル下のファイルを編集する
1069+
CTRL-W gf カーソル下のファイルを新しいタブページで編集する
1070+
CTRL-W f カーソル下のファイルを新しいウィンドウで編集する
1071+
10621072

10631073
このマッピングは以下のようにして無効化することができる: >
10641074
let g:no_vim_maps = 1

en/filetype.txt

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*filetype.txt* For Vim version 9.1. Last change: 2025 May 10
1+
*filetype.txt* For Vim version 9.1. Last change: 2025 Aug 06
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1063,8 +1063,18 @@ To disable: >
10631063
<
10641064
VIM *ft-vim-plugin*
10651065

1066-
The Vim filetype plugin defines mappings to move to the start and end of
1067-
functions with [[ and ]]. Move around comments with ]" and [".
1066+
The Vim filetype plugin defines the following mappings:
1067+
1068+
[[ move to the start of the previous function
1069+
]] move to the start of the next function
1070+
][ move to the end of the previous function
1071+
[] move to the end of the next function
1072+
]" move to the next (legacy) comment
1073+
[" move to the previous (legacy) comment
1074+
gf edit the file under the cursor
1075+
CTRL-W gf edit the file under the cursor in a new tab
1076+
CTRL-W f edit the file under the cursor in a new window
1077+
10681078

10691079
The mappings can be disabled with: >
10701080
let g:no_vim_maps = 1

0 commit comments

Comments
 (0)