Skip to content

Commit

Permalink
Merge pull request #1669 from vim-jp/hh-update-filetype
Browse files Browse the repository at this point in the history
Update filetype.{txt,jax}
  • Loading branch information
h-east authored Aug 27, 2024
2 parents 37f36ec + 8d9d9ad commit 21a63b6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
8 changes: 6 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: 2024 Jul 16
*filetype.txt* For Vim バージョン 9.1. Last change: 2024 Aug 21


VIMリファレンスマニュアル by Bram Moolenaar
Expand Down Expand Up @@ -746,9 +746,13 @@ Man {number} {name}
nmap <F1> <Plug>ManPreGetPage
ローカルキーマップ:
<Plug>ManBS
<LocalLeader>h バッファからバックスペース <BS> 文字をクリアする。
CTRL-] カーソルの下の単語についてのマニュアルページへ移動する。
CTRL-T 直前のマニュアルページへ戻る。
q |:quit| コマンドと同じ。

マッピングは以下で無効にできる: >
let g:no_man_maps = 1
水平の代わりに垂直分割を使用するには: >
let g:ft_man_open_mode = 'vert'
Expand Down
12 changes: 8 additions & 4 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: 2024 Jul 16
*filetype.txt* For Vim version 9.1. Last change: 2024 Aug 21


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -753,9 +753,13 @@ Global mapping:
nmap <F1> <Plug>ManPreGetPage
Local mappings:
<Plug>ManBS
<LocalLeader>h Clear backspace <BS> characters from the buffer
CTRL-] Jump to the manual page for the word under the cursor.
CTRL-T Jump back to the previous manual page.
q Same as the |:quit| command.

The mappings can be disabled with: >
let g:no_man_maps = 1
To use a vertical split instead of horizontal: >
let g:ft_man_open_mode = 'vert'
Expand All @@ -764,8 +768,8 @@ To use a new tab: >
To enable |folding|, use this: >
let g:ft_man_folding_enable = 1
If you do not like the default folding, use an |autocommand| to add your desired
folding style instead. For example: >
If you do not like the default folding, use an |autocommand| to add your
desired folding style instead. For example: >
autocmd FileType man setlocal foldmethod=indent foldenable
If you would like :Man {number} {name} to behave like man {number} {name} by
Expand Down

0 comments on commit 21a63b6

Please sign in to comment.