Skip to content

Commit d218a38

Browse files
authored
Merge pull request #1734 from vim-jp/hh-update-term
Update term.{txt,jax}
2 parents 1aa919a + 6c8d1e5 commit d218a38

File tree

2 files changed

+27
-25
lines changed

2 files changed

+27
-25
lines changed

doc/term.jax

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*term.txt* For Vim バージョン 9.1. Last change: 2024 May 05
1+
*term.txt* For Vim バージョン 9.1. Last change: 2024 Oct 05
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -289,10 +289,11 @@ Sun などのプラットフォームのデフォルトの xterm 用の termcap
289289
いくつかのシステム(少なくとも FreeBSD と XFree86 3.1.2)では、<End><Home>
290290
キーが送信するキーに <NUL> 文字が含まれています。これらのキーが適切なキーコー
291291
ドを送信するようにするために、次の行を ~/.Xdefaults に追加してください:
292-
293-
*VT100.Translations: #override \n\
294-
<Key>Home: string("0x1b") string("[7~") \n\
295-
<Key>End: string("0x1b") string("[8~")
292+
>
293+
*VT100.Translations: #override \n\
294+
<Key>Home: string("0x1b") string("[7~") \n\
295+
<Key>End: string("0x1b") string("[8~")
296+
<
296297

297298
*xterm-8bit* *xterm-8-bit*
298299
xterm は 8 ビットエスケープシーケンスを使うモードで動作させることができます。
@@ -715,9 +716,9 @@ xterm を含む一部の端末は、フォーカスイベント追跡機能を
715716
Vim はそれらを適切に処理することでフォーカスイベント(|FocusGained|/|FocusLost|)
716717
を発生させます。フォーカスイベントの追跡は、"raw" モードを終了する時に 't_fd'
717718
シーケンスによって無効になります。
718-
この機能を無効化したいなら、以下をあなたの .vimrc に追加してください:
719-
`set t_fd=`
720-
`set t_fe=`
719+
この機能を無効化したいなら、以下をあなたの .vimrc に追加してください: >
720+
set t_fd=
721+
set t_fe=
721722
あなたの端末でこれがサポートされているが Vim が端末を識別できていないとき、
722723
あなた自身でオプションを設定する必要がある場合があります: >
723724
let &t_fe = "\<Esc>[?1004h"
@@ -802,16 +803,17 @@ termcap から推測することは不可能です。スクリーンの始点か
802803
ソル位置がスクロールさせる領域の始点から相対的となる場合は 't_CS' オプションに
803804
なんらかの文字列を設定しなければなりません。そうでなければ空文字列となります。
804805

805-
xterm ユーザーへの注意: 通常、Shift + カーソルキーは使用できません。xmodmap コ
806-
マンドと Vim でマッピングを使えば、これらを使用できるようになります。
806+
Note xterm ユーザーへの注意: 通常、Shift + カーソルキーは使用できません。
807+
xmodmap コマンドと Vim でマッピングを使えば、これらを使用できるように
808+
なります。
807809

808-
以下のコマンドを xterm の中で実行します:
810+
以下のコマンドを xterm の中で実行します: >
809811
xmodmap -e "keysym Up = Up F13"
810812
xmodmap -e "keysym Down = Down F16"
811813
xmodmap -e "keysym Left = Left F18"
812814
xmodmap -e "keysym Right = Right F19"
813-
814-
そして次のマッピングを Vim の中で実行します:
815+
<
816+
そして次のマッピングを Vim の中で実行します: >
815817
:map <t_F3> <S-Up>
816818
:map! <t_F3> <S-Up>
817819
:map <t_F6> <S-Down>

en/term.txt

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*term.txt* For Vim version 9.1. Last change: 2024 May 05
1+
*term.txt* For Vim version 9.1. Last change: 2024 Oct 05
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -292,11 +292,11 @@ entry in /etc/termcap and everything should work.
292292
On some systems (at least on FreeBSD with XFree86 3.1.2) the codes that the
293293
<End> and <Home> keys send contain a <Nul> character. To make these keys send
294294
the proper key code, add these lines to your ~/.Xdefaults file:
295-
296-
*VT100.Translations: #override \n\
297-
<Key>Home: string("0x1b") string("[7~") \n\
298-
<Key>End: string("0x1b") string("[8~")
299-
295+
>
296+
*VT100.Translations: #override \n\
297+
<Key>Home: string("0x1b") string("[7~") \n\
298+
<Key>End: string("0x1b") string("[8~")
299+
<
300300
*xterm-8bit* *xterm-8-bit*
301301
Xterm can be run in a mode where it uses 8-bit escape sequences. The CSI code
302302
is used instead of <Esc>[. The advantage is that an <Esc> can quickly be
@@ -719,9 +719,9 @@ If this feature is enabled by the 't_fe' sequence, special key sequences are
719719
sent from the terminal to Vim every time the terminal gains or loses focus.
720720
Vim fires focus events (|FocusGained|/|FocusLost|) by handling them accordingly.
721721
Focus event tracking is disabled by a 't_fd' sequence when exiting "raw" mode.
722-
If you would like to disable this feature, add the following to your .vimrc:
723-
`set t_fd=`
724-
`set t_fe=`
722+
If you would like to disable this feature, add the following to your .vimrc: >
723+
set t_fd=
724+
set t_fe=
725725
If your terminal does support this but Vim does not recognize the terminal,
726726
you may have to set the options yourself: >
727727
let &t_fe = "\<Esc>[?1004h"
@@ -810,13 +810,13 @@ region. It should be set to an empty string otherwise.
810810
Note for xterm users: The shifted cursor keys normally don't work. You can
811811
make them work with the xmodmap command and some mappings in Vim.
812812

813-
Give these commands in the xterm:
813+
Give these commands in the xterm: >
814814
xmodmap -e "keysym Up = Up F13"
815815
xmodmap -e "keysym Down = Down F16"
816816
xmodmap -e "keysym Left = Left F18"
817817
xmodmap -e "keysym Right = Right F19"
818-
819-
And use these mappings in Vim:
818+
<
819+
And use these mappings in Vim: >
820820
:map <t_F3> <S-Up>
821821
:map! <t_F3> <S-Up>
822822
:map <t_F6> <S-Down>

0 commit comments

Comments
 (0)