Skip to content
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
30 changes: 29 additions & 1 deletion doc/mbyte.jax
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*mbyte.txt* For Vim バージョン 9.1. Last change: 2025 Aug 10
*mbyte.txt* For Vim バージョン 9.1. Last change: 2025 Oct 12

VIMリファレンスマニュアル by Bram Moolenaar et al.

Expand Down Expand Up @@ -942,6 +942,34 @@ NOTE: IMEを使用するには入力したい言語をシステムに追加す
5. 追加ボタンをクリック


MS-Windows IME の互換性 *multibyte-ime-compatibility*

Vim は Windows システム上のインプットメソッドを `imm32.dll` (Input Method
Manager) を介して管理する。この実装は Windows 2000 時代に遡るため、最新のイン
プットメソッドと完全に互換性がない可能性がある。最新の入力メソッドの処理は
Text Services Framework (TSF) に移行しており、その動作は従来の IME インターフェ
イスと完全には一致しない可能性がある。IME と TSF の詳細については、Microsoft
のドキュメントウェブサイトを参照 (Microsoft ドキュメントの URL は頻繁に変更さ
れるため、リンクは省略している)。

Windows の表示言語が CJK 言語に設定されている場合、Vim の起動時に誤ってインプッ
トメソッド (IM) をノーマルモードで有効にしてしまうことがある。この問題を回避す
るには、|gvimrc| ファイルに以下の設定を追加してみて欲しい: >

autocmd VimEnter * set imdisable | set noimdisable
<
これらの問題の診断または解決に進展があった場合は、フィードバックを歓迎する。

Note: IME の動作は、ベンダーによる実装の違いにより異なる場合がある。特定のイン
プットメソッドで問題が発生した場合は、別のインプットメソッドで試すことをお勧め
する。

Vim の |+multi_byte_ime| システムとの適切な統合には、インプットメソッドの状態
変化が Vim のソースコード内の `ImmGetOpenStatus()` 関数によって検出可能でなけ
ればならない。現在、多言語入力をサポートする一部のインプットメソッドでは、gVim
が捕捉できない内部状態の変化が発生する場合がある。


IMEやXIMがオンのときのカーソルの色 *CursorIM*
IMEの状態に応じてカーソルの色を変えることができる。通常、IMEの状態はデスク
トップの隅(やタスクバー)に表示されているが、これはあまり確認しやすくないの
Expand Down
42 changes: 36 additions & 6 deletions en/mbyte.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*mbyte.txt* For Vim version 9.1. Last change: 2025 Aug 10
*mbyte.txt* For Vim version 9.1. Last change: 2025 Oct 12


VIM REFERENCE MANUAL by Bram Moolenaar et al.
Expand Down Expand Up @@ -971,6 +971,36 @@ of Windows you use. For example, on my Windows 2000 box:
The default is still English (United Stated)


MS-Windows IME Compatibility *multibyte-ime-compatibility*

Vim manages input methods on Windows systems via the `imm32.dll` (Input Method
Manager). The implementation, dating back to the Windows 2000 era, may not be
fully compatible with modern input methods. Modern input method processing
has shifted to the Text Services Framework (TSF), whose behavior may not fully
align with the traditional IME interface. For details about IME and TSF,
refer to the Microsoft documentation website (link is omitted since MS
documentation URLs often change).

In some cases Vim might incorrectly enable the Input Method (IM) in Normal
mode upon startup when the Windows display language is set to a CJK language.
To work around this issue, try adding the following configuration to your
|gvimrc| file: >

autocmd VimEnter * set imdisable | set noimdisable
<
If you make any progress in diagnosing or resolving these issues, feedback is
welcome.

Note: IME behavior can vary due to differences in implementations by different
vendors. If you encounter issues with a specific input method, it is
recommended to test with an alternative one.

For proper integration with Vim's |+multi_byte_ime| system, changes in the
input method's status must be detectable by the `ImmGetOpenStatus()` function
in Vims source code. Currently, some input methods that support multi-language
input may have internal state changes that gVim cannot capture.


Cursor color when IME or XIM is on *CursorIM*
There is a little cute feature for IME. Cursor can indicate status of IME
by changing its color. Usually status of IME was indicated by little icon
Expand Down Expand Up @@ -1108,8 +1138,8 @@ it to the Vim maintainer for inclusion in the distribution:

HEBREW KEYMAP *keymap-hebrew*

This file explains what characters are available in UTF-8 and CP1255 encodings,
and what the keymaps are to get those characters:
This file explains what characters are available in UTF-8 and CP1255
encodings, and what the keymaps are to get those characters:

glyph encoding keymap ~
Char UTF-8 cp1255 hebrew hebrewp name ~
Expand Down Expand Up @@ -1240,9 +1270,9 @@ Combining forms:
==============================================================================
10. Input with imactivatefunc() *mbyte-func*

Vim has the 'imactivatefunc' and 'imstatusfunc' options. These are useful to
activate/deactivate the input method from Vim in any way, also with an external
command. For example, fcitx provide fcitx-remote command: >
Vim has the 'imactivatefunc' and 'imstatusfunc' options. These are useful to
activate/deactivate the input method from Vim in any way, also with an
external command. For example, fcitx provide fcitx-remote command: >

set iminsert=2
set imsearch=2
Expand Down