|
3 | 3 | helpname: 'map'
|
4 | 4 | ---
|
5 | 5 | <div id='vimCodeElement'>
|
6 |
| -<a class="Constant" href="map.html" name="map.txt">map.txt</a> For <span class="Identifier">Vim バージョン 9.1.</span> Last change: 2023 May 28<br> |
| 6 | +<a class="Constant" href="map.html" name="map.txt">map.txt</a> For <span class="Identifier">Vim バージョン 9.1.</span> Last change: 2024 Jan 25<br> |
7 | 7 | <br>
|
8 | 8 | <br>
|
9 | 9 | <span class="Identifier">VIMリファレンスマニュアル by Bram Moolenaar</span><br>
|
|
25 | 25 | 1.9 マップを使う <a class="Identifier" href="map.html#map-typing">map-typing</a><br>
|
26 | 26 | 1.10 Altキーを使ったマップ <a class="Identifier" href="map.html#:map-alt-keys">:map-alt-keys</a><br>
|
27 | 27 | 1.11 Metaキーを使ったマップ <a class="Identifier" href="map.html#:map-meta-keys">:map-meta-keys</a><br>
|
28 |
| - 1.12 modifyOtherKeys モードのマップ <a class="Identifier" href="map.html#modifyOtherKeys">modifyOtherKeys</a><br> |
29 |
| - 1.13 Kitty キーボードプロトコルを使ったマップ <a class="Identifier" href="map.html#kitty-keyboard-protocol">kitty-keyboard-protocol</a><br> |
30 |
| - 1.14 オペレータの作成 <a class="Identifier" href="map.html#:map-operator">:map-operator</a><br> |
| 28 | + 1.12 superキーまたはcommandキーのマップ <a class="Identifier" href="map.html#:map-super-keys">:map-super-keys</a><br> |
| 29 | + 1.13 modifyOtherKeys モードのマップ <a class="Identifier" href="map.html#modifyOtherKeys">modifyOtherKeys</a><br> |
| 30 | + 1.14 Kitty キーボードプロトコルを使ったマップ <a class="Identifier" href="map.html#kitty-keyboard-protocol">kitty-keyboard-protocol</a><br> |
| 31 | + 1.15 オペレータの作成 <a class="Identifier" href="map.html#:map-operator">:map-operator</a><br> |
31 | 32 | 2. 短縮入力 <a class="Identifier" href="map.html#abbreviations">abbreviations</a><br>
|
32 | 33 | 3. ローカルマップとローカル関数 <a class="Identifier" href="map.html#script-local">script-local</a><br>
|
33 | 34 | 4. ユーザー定義コマンド <a class="Identifier" href="map.html#user-commands">user-commands</a><br>
|
|
401 | 402 | <br>
|
402 | 403 | <a class="Constant" href="map.html#E1255" name="E1255">E1255</a> <a class="Constant" href="map.html#E1136" name="E1136">E1136</a><br>
|
403 | 404 | <span class="Special"><Cmd></span> と <span class="Special"><ScriptCmd></span> コマンドではマッピング定義の <span class="Special">{rhs}</span> が <span class="Special"><CR></span> で終わる必要が<br>
|
404 |
| -あります。<a class="Identifier" href="cmdline.html#Command-line">Command-line</a> に入ることはありません。<br> |
| 405 | +あります。<a class="Identifier" href="cmdline.html#Command-line">Command-line</a> に入ることはありません。<span class="Special">{rhs}</span> でリテラル <span class="Special"><CR></span> を使用<br> |
| 406 | +するには、<a class="Identifier" href="intro.html#<lt>"><lt></a> を使用します。<br> |
405 | 407 | <br>
|
406 | 408 | <br>
|
407 | 409 | 1.3 マップとモード <a class="Constant" href="map.html#:map-modes" name=":map-modes">:map-modes</a><br>
|
|
587 | 589 | グを追加したりクリアすることはできません。 <a class="Constant" href="map.html#E1309" name="E1309">E1309</a><br>
|
588 | 590 | <br>
|
589 | 591 | <a class="Constant" href="map.html#:map-verbose" name=":map-verbose">:map-verbose</a><br>
|
590 |
| -<a class="Type" href="options.html#'verbose'">'verbose'</a> がゼロ以外のときにマップ一覧を表示すると、どこで定義されたのかも表示<br> |
591 |
| -されます。例: ><br> |
| 592 | +<a class="Type" href="options.html#'verbose'">'verbose'</a> がゼロ以外の場合、検出および使用された <a class="Type" href="options.html#'keyprotocol'">'keyprotocol'</a> の値が最初の行<br> |
| 593 | +に表示されます。また、キーマップには、最後に定義された場所も表示されます。<br> |
| 594 | +例: ><br> |
592 | 595 | <br>
|
593 | 596 | <div class="helpExample"> :verbose map <C-W>*<br>
|
| 597 | + Kitty keyboard protocol: Cleared<br> |
594 | 598 | n <C-W>* * <C-W><C-S>*<br>
|
595 | 599 | Last set from /home/abcd/.vimrc</div>
|
596 | 600 | <br>
|
|
976 | 980 | <div class="helpExample"> :imap <T-b> terrible</div>
|
977 | 981 | <br>
|
978 | 982 | <br>
|
979 |
| -1.12 modifyOtherKeys モードのマップ <a class="Constant" href="map.html#modifyOtherKeys" name="modifyOtherKeys">modifyOtherKeys</a><br> |
| 983 | +1.12 SuperキーまたはCommandキーのマップ <a class="Constant" href="map.html#:map-super-keys" name=":map-super-keys">:map-super-keys</a> <a class="Constant" href="map.html#:map-cmd-key" name=":map-cmd-key">:map-cmd-key</a><br> |
| 984 | +<br> |
| 985 | +Super 修飾子は、Linux 上の GVim および Mac OS 上の MacVim の GUI モード<br> |
| 986 | +(<a class="Identifier" href="builtin.html#gui_running">gui_running</a> が 1 の場合) で使用できます。Mac を使用している場合、これは<br> |
| 987 | +Command キーを表し、GTK GUI を使用する Linux では、Super キーを表します。<br> |
| 988 | +文字 "D" は、Super / Command 修飾子に使用されます。<br> |
| 989 | +<br> |
| 990 | +例えば、挿入モードで Command-b をマップするには: ><br> |
| 991 | +<div class="helpExample"> :imap <D-b> barritone</div> |
| 992 | +<br> |
| 993 | +1.13 modifyOtherKeys モードのマップ <a class="Constant" href="map.html#modifyOtherKeys" name="modifyOtherKeys">modifyOtherKeys</a><br> |
980 | 994 | <br>
|
981 | 995 | xterm と他のいくつかの端末は、修飾子付きのキーが特別なエスケープコードで送信さ<br>
|
982 | 996 | れるモードにすることができます。Vim はこれらのコードを認識し、Backspace が文字<br>
|
|
1040 | 1054 | るのを防ぐため、挿入モードで modifyOtherKeys は無効化されます。<br>
|
1041 | 1055 | <br>
|
1042 | 1056 | <br>
|
1043 |
| -1.13 Kitty キーボードプロトコルを使ったマップ <a class="Constant" href="map.html#kitty-keyboard-protocol" name="kitty-keyboard-protocol">kitty-keyboard-protocol</a><br> |
| 1057 | +1.14 Kitty キーボードプロトコルを使ったマップ <a class="Constant" href="map.html#kitty-keyboard-protocol" name="kitty-keyboard-protocol">kitty-keyboard-protocol</a><br> |
1044 | 1058 | <br>
|
1045 | 1059 | <a class="Type" href="options.html#'term'">'term'</a> の値が "kitty" を含んでいる場合、Vim は Kitty キーボードプロトコルを有<br>
|
1046 | 1060 | 効化するエスケープシーケンスを送出します。これは <a class="Type" href="options.html#'keyprotocol'">'keyprotocol'</a> オプションで変<br>
|
|
1066 | 1080 | 以前の状態は不明<br>
|
1067 | 1081 | <br>
|
1068 | 1082 | <br>
|
1069 |
| -1.14 オペレータの作成 <a class="Constant" href="map.html#:map-operator" name=":map-operator">:map-operator</a><br> |
| 1083 | +1.15 オペレータの作成 <a class="Constant" href="map.html#:map-operator" name=":map-operator">:map-operator</a><br> |
1070 | 1084 | <br>
|
1071 | 1085 | オペレータは <span class="Special">{motion}</span> コマンドと合わせて使われます。独自のオペレータを定義する<br>
|
1072 | 1086 | には、最初に <a class="Type" href="options.html#'operatorfunc'">'operatorfunc'</a> を設定し、そして、<a class="Identifier" href="map.html#g@">g@</a> オペレータを呼びます。ユー<br>
|
|
1613 | 1627 | -complete=help ヘルプの主題<br>
|
1614 | 1628 | -complete=highlight ハイライトグループ<br>
|
1615 | 1629 | -complete=history <a class="Identifier" href="cmdline.html#:history">:history</a> サブオプション<br>
|
| 1630 | + -complete=keymap キーボードマッピング<br> |
1616 | 1631 | -complete=locale ロケール名 (locale -a の出力)<br>
|
1617 | 1632 | -complete=mapclear バッファ引数<br>
|
1618 | 1633 | -complete=mapping マップ<br>
|
|
0 commit comments