Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7e8de0f

Browse files
committedFeb 3, 2016
translate term.jax to catch up 1194
for #164
1 parent aca68f4 commit 7e8de0f

File tree

2 files changed

+14
-19
lines changed

2 files changed

+14
-19
lines changed
 

‎catchup-7.4.1194.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
doc/netbeans.jax
2424
doc/spell.jax
2525
doc/tagsrch.jax
26-
doc/term.jax
2726
doc/usr_02.jax # 行数は多いけど、まとまった書き換えで、楽そう
2827
doc/various.jax
2928

@@ -61,6 +60,7 @@
6160
doc/quickfix.jax
6261
doc/quickref.jax
6362
doc/repeat.jax
63+
doc/term.jax
6464
doc/usr_03.jax
6565
doc/usr_29.jax
6666
doc/usr_41.jax

‎doc/term.jax

+13-18
Original file line numberDiff line numberDiff line change
@@ -283,8 +283,8 @@ termcap コードに対応するオプションを設定することによって
283283
*t_xs* *'t_xs'*
284284
t_xs 空でない場合は強調が上書きによって消されない(hpterm)
285285
*t_xn* *'t_xn'*
286-
t_xn if non-empty, writing a character at the last screen cell
287-
does not cause scrolling
286+
t_xn 空ではない場合、画面の右端のセルに書いた文字はスクロールを
287+
発生させない
288288
t_ZH 斜体モード *t_ZH* *'t_ZH'*
289289
t_ZR 斜体終了 *t_ZR* *'t_ZR'*
290290

@@ -294,15 +294,15 @@ Vim 独自のもの (標準的なコードはないもの):
294294
t_WP ウィンドウ位置 (Y, X) をピクセルで指定 *t_WP* *'t_WP'*
295295
t_WS ウィンドウサイズ (height, width) を文字数で指定 *t_WS* *'t_WS'*
296296
t_SI 挿入モード開始 (バー型のカーソル) *t_SI* *'t_SI'*
297-
t_SR start replace mode (underline cursor shape) *t_SR* *'t_SR'*
297+
t_SR 置換モードの開始 (下線型のカーソル) *t_SR* *'t_SR'*
298298
t_EI 挿入または置換モード終了(ブロック型カーソル) *t_EI* *'t_EI'*
299299
|termcap-cursor-shape|
300300
t_RV 端末バージョン文字列を要求 (xterm 用) *t_RV* *'t_RV'*
301301
|xterm-8bit| |v:termresponse| |'ttymouse'| |xterm-codes|
302302
t_u7 カーソル位置を要求 (xterm 用) *t_u7* *'t_u7'*
303-
|'ambiwidth'| 参照
304-
t_RB request terminal background color *t_RB* *'t_RB'*
305-
see |'ambiwidth'|
303+
|'ambiwidth'| 参照
304+
t_RB 端末の背景色を要求 *t_RB* *'t_RB'*
305+
|'ambiwidth'| 参照
306306

307307
キーコード
308308
Note: 可能なかぎり <> 形式を使ってください。
@@ -443,18 +443,13 @@ allow-window-pos にチェックが入っているはずです。
443443
ます。
444444

445445
*termcap-cursor-shape* *termcap-cursor-color*
446-
When Vim enters Insert mode the 't_SI' escape sequence is sent. When Vim
447-
enters Replace mode the 't_SR' escape sequence is sent if it is set, otherwise
448-
't_SI' is sent. When leaving Insert mode or Replace mode 't_EI' is used. This
449-
can be used to change the shape or color of the cursor in Insert or Replace
450-
mode. These are not standard termcap/terminfo entries, you need to set them
451-
yourself.
452-
{参考用の旧訳:
453-
挿入モードに入るとき、エスケープシーケンス 't_SI' が送られます。挿入モードを抜
454-
けるときは 't_EI' が送られます。ただし、両方が定義されているときのみです。これ
455-
を利用して、挿入モードにおけるカーソルの形や色を変えることができます。これらは
456-
標準的な termcap/terminfo エントリではないので、自分で設定する必要があります。
457-
:旧訳ここまで}
446+
Vimが挿入モードに入るときにはエスケープシーケンス 't_SI' が送られます。置換モ
447+
ードに入るときにはエスケープシーケンス 't_SR' が設定されていれば送られます。設
448+
定されていない場合には 't_SI' が送られます。挿入モード及び置換モードを抜けると
449+
きには 't_EI' が送られます。これらは挿入や置換モードにおいてカーソルの形や色を
450+
変えるのに利用できます。またこれらは標準的な termcap/terminfo エントリではない
451+
ので、自分で設定する必要があります。
452+
458453
以下は xterm でカーソルの色を変える例です: >
459454
if &term =~ "xterm"
460455
let &t_SI = "\<Esc>]12;purple\x7"

0 commit comments

Comments
 (0)
Please sign in to comment.