Skip to content

Update filetype.{txt,jax} #2233

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 1 commit into from
Aug 7, 2025
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
16 changes: 13 additions & 3 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 May 10
*filetype.txt* For Vim バージョン 9.1. Last change: 2025 Aug 06


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

Vim ファイルタイププラグインは、[[ および ]] で関数の先頭および末尾に移動する
ためのマッピングを定義する。コメントの周辺には ]" および [" で移動する。
Vim ファイルタイププラグインは以下のマッピングを定義する:

[[ 前の関数の先頭に移動する
]] 次の関数の先頭に移動する
][ 前の関数の末尾に移動する
[] 次の関数の末尾に移動する
]" 次の (旧来の) コメントに移動する
[" 前の (旧来の) コメントに移動する
gf カーソル下のファイルを編集する
CTRL-W gf カーソル下のファイルを新しいタブページで編集する
CTRL-W f カーソル下のファイルを新しいウィンドウで編集する


このマッピングは以下のようにして無効化することができる: >
let g:no_vim_maps = 1
Expand Down
16 changes: 13 additions & 3 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 May 10
*filetype.txt* For Vim version 9.1. Last change: 2025 Aug 06


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -1063,8 +1063,18 @@ To disable: >
<
VIM *ft-vim-plugin*

The Vim filetype plugin defines mappings to move to the start and end of
functions with [[ and ]]. Move around comments with ]" and [".
The Vim filetype plugin defines the following mappings:

[[ move to the start of the previous function
]] move to the start of the next function
][ move to the end of the previous function
[] move to the end of the next function
]" move to the next (legacy) comment
[" move to the previous (legacy) comment
gf edit the file under the cursor
CTRL-W gf edit the file under the cursor in a new tab
CTRL-W f edit the file under the cursor in a new window


The mappings can be disabled with: >
let g:no_vim_maps = 1
Expand Down