Skip to content

Update {index,recover,terminal}.{txt,jax} #815

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 14, 2020
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
13 changes: 9 additions & 4 deletions doc/index.jax
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*index.txt* For Vim バージョン 8.2. Last change: 2020 Jan 14
*index.txt* For Vim バージョン 8.2. Last change: 2020 Mar 27


VIMリファレンスマニュアル by Bram Moolenaar
Expand Down Expand Up @@ -1290,11 +1290,12 @@ Note: 1 = カーソル移動コマンド 2 = アンドゥ/リドゥ可能
|:cunmenu| :cunme[nu] コマンドラインモードのメニューを削除
|:cwindow| :cw[indow] quickfixウィンドウを開閉する
|:delete| :d[elete] 行を削除
|:delmarks| :delm[arks] マークを削除する
|:debug| :deb[ug] コマンドをデバッグモードで実行する
|:debuggreedy| :debugg[reedy] デバッグモードのコマンドを標準入力から読み込む
|:def| :def Vim9 ユーザー関数の定義
|:delcommand| :delc[ommand] ユーザー定義コマンドの削除
|:delfunction| :delf[unction] ユーザー定義関数の削除
|:delmarks| :delm[arks] マークを削除する
|:diffupdate| :dif[fupdate] 'diff' バッファを更新する
|:diffget| :diffg[et] カレントバッファの差異を他方に合わせる
|:diffoff| :diffo[ff] 差分モードをオフにする
Expand All @@ -1304,9 +1305,9 @@ Note: 1 = カーソル移動コマンド 2 = アンドゥ/リドゥ可能
|:diffthis| :diffthis カレントウィンドウを差分ウィンドウにする
|:digraphs| :dig[raphs] ダイグラフの入力または表示
|:display| :di[splay] レジスタの内容を表示
|:disassemble| :disa[ssemble] Vim9 ユーザー関数の逆アセンブル
|:djump| :dj[ump] #define へジャンプ
|:dl| :dl 'l' フラグ付き |:delete| の短縮形
|:del| :del[ete]l 'l' フラグ付き |:delete| の短縮形
|:dlist| :dli[st] #define をリスト表示
|:doautocmd| :do[autocmd] カレントバッファに対し自動コマンドを適用する
|:doautoall| :doautoa[ll] ロードされているバッファすべてに自動コマンドを
Expand All @@ -1326,9 +1327,10 @@ Note: 1 = カーソル移動コマンド 2 = アンドゥ/リドゥ可能
|:else| :el[se] :if コマンドと一緒に使用する
|:elseif| :elsei[f] :if コマンドと一緒に使用する
|:emenu| :em[enu] 名前を指定してメニューを実行
|:enddef| :enddef :def で開始したユーザー定義関数の終了
|:endif| :en[dif] 直前の :if の終了
|:endfor| :endfo[r] 直前の :for の終了
|:endfunction| :endf[unction] ユーザー定義関数の終了
|:endfunction| :endf[unction] :function で開始したユーザー定義関数の終了
|:endtry| :endt[ry] 直前の:tryを終了する
|:endwhile| :endw[hile] 直前の :while の終了
|:enew| :ene[w] 新しい名無しバッファを開く
Expand Down Expand Up @@ -1379,6 +1381,8 @@ Note: 1 = カーソル移動コマンド 2 = アンドゥ/リドゥ可能
|:imap| :im[ap] 挿入モードを対象とした ":map" コマンド
|:imapclear| :imapc[lear] 挿入モードを対象とした ":mapclear" コマンド
|:imenu| :ime[nu] 挿入モードを対象にメニュー追加
|:import| :imp[ort] Vim9: 他のスクリプトからアイテムをインポートす
|:inoremap| :ino[remap] 挿入モードを対象とした ":noremap" コマンド
|:inoreabbrev| :inorea[bbrev] 挿入モードを対象とした ":noreabbrev" コマンド
|:inoremenu| :inoreme[nu] 挿入モードを対象とした ":noremenu" コマンド
Expand Down Expand Up @@ -1747,6 +1751,7 @@ Note: 1 = カーソル移動コマンド 2 = アンドゥ/リドゥ可能
|:version| :ve[rsion] バージョン番号その他の情報を表示
|:verbose| :verb[ose] 'verbose' を一時設定してコマンドを実行する
|:vertical| :vert[ical] ウィンドウが垂直分割されるようにする
|:vim9script| :vim9[script] Vim9 スクリプトファイルであることを示す
|:vimgrep| :vim[grep] 複数ファイルからパターンを検索する
|:vimgrepadd| :vimgrepa[dd] :vimgrepと同様だが現在のリストに追加
|:visual| :vi[sual] ":edit" と同じ、ただし "Ex" モードから抜ける。
Expand Down
8 changes: 4 additions & 4 deletions doc/recover.jax
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*recover.txt* For Vim バージョン 8.2. Last change: 2019 May 07
*recover.txt* For Vim バージョン 8.2. Last change: 2020 Mar 24


VIMリファレンスマニュアル by Bram Moolenaar
Expand Down Expand Up @@ -125,9 +125,9 @@ Amigaでは、回復可能なramディスクを使えるが、それが100%働
する:

*:pre* *:preserve* *E313* *E314*
:pre[serve] 全てのバッファの全てのテキストをスワップファイルに書き
込む。回復のためにオリジナルが必要とされることはなくな
:pre[serve] 全てのバッファの全てのテキストを各スワップファイルに書
き込む。回復のためにオリジナルが必要とされることはなく
なる
このコマンドはカレントバッファにあるフラグを設定する。
また、'cpoptions' にフラグ '&' が入っているならば、Vim
が終了するとき、このバッファのスワップファイルは削除さ
Expand Down
17 changes: 12 additions & 5 deletions doc/terminal.jax
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*terminal.txt* For Vim バージョン 8.2. Last change: 2020 Jan 30
*terminal.txt* For Vim バージョン 8.2. Last change: 2020 Mar 26


VIMリファレンスマニュアル by Bram Moolenaar
Expand Down Expand Up @@ -150,7 +150,12 @@ Normal ハイライトグループにより決定されます。

異なる色を使う場合には Terminal ハイライトグループを利用できます。例: >
hi Terminal ctermbg=lightgrey ctermfg=blue guibg=lightgrey guifg=blue
<
端末生成前にハイライトを定義する必要があります。後に定義した場合、もしくは
'wincolor' を設定した場合、効果が発揮されるのは端末内で実行中のプログラムのテ
キスト出力がされるか、端末のクリアがされる時です。
もしくは Terminal の代わりとして`term_start()` のオプション "term_highlight"
で別グループを設定できます。

*g:terminal_ansi_colors*
新しい端末ウィンドウでデフォルトで使用される16個のANSI カラーは、変数
`g:terminal_ansi_colors` を使用して設定することができます。これは、16個の色名
Expand Down Expand Up @@ -820,14 +825,14 @@ term_start({cmd} [, {options}]) *term_start()*

追加のオプションは以下のとおり:
"term_name" (コマンド名の代わりに使用される)バッファ
名に使用する名前
名に使用する名前
"term_rows" ('termwinsize' の代わりに使用される) 端末
の垂直サイズ
"term_cols" ('termwinsize' の代わりに使用される) 端末
の水平サイズ
"vertical" ウィンドウを垂直に分割する。Note: 他のウィ
ンドウの位置は、|:belowright| のようなコマ
ンド修飾子によって決められる
ンド修飾子によって決められる
"curwin" ウィンドウを分割せず現在のウィンドウを使
用する、現在のバッファが放棄 (|abandon|)
不可の場合は失敗する
Expand All @@ -845,7 +850,9 @@ term_start({cmd} [, {options}]) *term_start()*
ウを開くために使用されるコマンド: バッファ
番号が入る "%d" を含む必要がある、例
"10split|buffer %d": 指定されていない場合
は "botright sbuf %d" が使用される。
は "botright sbuf %d" が使用される
"term_highlight" "Terminal" の代わりにハイライトグループと
して使える
"eof_chars" すべてのバッファ行が書き込まれた後に端末
に送られるテキスト。設定されていないとき
は MS-Windows では CTRL-D が使用される。
Expand Down
13 changes: 9 additions & 4 deletions en/index.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*index.txt* For Vim version 8.2. Last change: 2020 Jan 14
*index.txt* For Vim version 8.2. Last change: 2020 Mar 27


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -1260,11 +1260,12 @@ tag command action ~
|:cunmenu| :cunme[nu] remove menu for Command-line mode
|:cwindow| :cw[indow] open or close quickfix window
|:delete| :d[elete] delete lines
|:delmarks| :delm[arks] delete marks
|:debug| :deb[ug] run a command in debugging mode
|:debuggreedy| :debugg[reedy] read debug mode commands from normal input
|:def| :def define a Vim9 user function
|:delcommand| :delc[ommand] delete user-defined command
|:delfunction| :delf[unction] delete a user function
|:delmarks| :delm[arks] delete marks
|:diffupdate| :dif[fupdate] update 'diff' buffers
|:diffget| :diffg[et] remove differences in current buffer
|:diffoff| :diffo[ff] switch off diff mode
Expand All @@ -1274,9 +1275,9 @@ tag command action ~
|:diffthis| :diffthis make current window a diff window
|:digraphs| :dig[raphs] show or enter digraphs
|:display| :di[splay] display registers
|:disassemble| :disa[ssemble] disassemble Vim9 user function
|:djump| :dj[ump] jump to #define
|:dl| :dl short for |:delete| with the 'l' flag
|:del| :del[ete]l short for |:delete| with the 'l' flag
|:dlist| :dli[st] list #defines
|:doautocmd| :do[autocmd] apply autocommands to current buffer
|:doautoall| :doautoa[ll] apply autocommands for all loaded buffers
Expand All @@ -1295,15 +1296,17 @@ tag command action ~
|:else| :el[se] part of an :if command
|:elseif| :elsei[f] part of an :if command
|:emenu| :em[enu] execute a menu by name
|:enddef| :enddef end of a user function started with :def
|:endif| :en[dif] end previous :if
|:endfor| :endfo[r] end previous :for
|:endfunction| :endf[unction] end of a user function
|:endfunction| :endf[unction] end of a user function started with :function
|:endtry| :endt[ry] end previous :try
|:endwhile| :endw[hile] end previous :while
|:enew| :ene[w] edit a new, unnamed buffer
|:ex| :ex same as ":edit"
|:execute| :exe[cute] execute result of expressions
|:exit| :exi[t] same as ":xit"
|:export| :exp[ort] Vim9: export an item from a script
|:exusage| :exu[sage] overview of Ex commands
|:file| :f[ile] show or set the current file name
|:files| :files list all files in the buffer list
Expand Down Expand Up @@ -1345,6 +1348,7 @@ tag command action ~
|:imap| :im[ap] like ":map" but for Insert mode
|:imapclear| :imapc[lear] like ":mapclear" but for Insert mode
|:imenu| :ime[nu] add menu for Insert mode
|:import| :imp[ort] Vim9: import an item from another script
|:inoremap| :ino[remap] like ":noremap" but for Insert mode
|:inoreabbrev| :inorea[bbrev] like ":noreabbrev" but for Insert mode
|:inoremenu| :inoreme[nu] like ":noremenu" but for Insert mode
Expand Down Expand Up @@ -1686,6 +1690,7 @@ tag command action ~
|:version| :ve[rsion] print version number and other info
|:verbose| :verb[ose] execute command with 'verbose' set
|:vertical| :vert[ical] make following command split vertically
|:vim9script| :vim9[script] indicates Vim9 script file
|:vimgrep| :vim[grep] search for pattern in files
|:vimgrepadd| :vimgrepa[dd] like :vimgrep, but append to current list
|:visual| :vi[sual] same as ":edit", but turns off "Ex" mode
Expand Down
4 changes: 2 additions & 2 deletions en/recover.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*recover.txt* For Vim version 8.2. Last change: 2019 May 07
*recover.txt* For Vim version 8.2. Last change: 2020 Mar 24


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -125,7 +125,7 @@ If you want to make sure that your changes are in the swap file use this
command:

*:pre* *:preserve* *E313* *E314*
:pre[serve] Write all text for all buffers into swap file. The
:pre[serve] Write all text for all buffers into swap files. The
original file is no longer needed for recovery.
This sets a flag in the current buffer. When the '&'
flag is present in 'cpoptions' the swap file will not
Expand Down
13 changes: 10 additions & 3 deletions en/terminal.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*terminal.txt* For Vim version 8.2. Last change: 2020 Jan 30
*terminal.txt* For Vim version 8.2. Last change: 2020 Mar 26


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -148,7 +148,12 @@ terminal window will start with a white or black background.
To use a different color the Terminal highlight group can be used, for
example: >
hi Terminal ctermbg=lightgrey ctermfg=blue guibg=lightgrey guifg=blue
<
The highlight needs to be defined before the terminal is created. Doing it
later, or setting 'wincolor', will only have effect when the program running
in the terminal displays text or clears the terminal.
Instead of Terminal another group can be specified with the "term_highlight"
option for `term_start()`.

*g:terminal_ansi_colors*
In GUI mode or with 'termguicolors', the 16 ANSI colors used by default in new
terminal windows may be configured using the variable
Expand Down Expand Up @@ -857,6 +862,8 @@ term_start({cmd} [, {options}]) *term_start()*
have "%d" where the buffer number goes,
e.g. "10split|buffer %d"; when not
specified "botright sbuf %d" is used
"term_highlight" highlight group to use instead of
"Terminal"
"eof_chars" Text to send after all buffer lines were
written to the terminal. When not set
CTRL-D is used on MS-Windows. For Python
Expand Down Expand Up @@ -953,7 +960,7 @@ Currently supported commands:
directory, thus it's best to use the full path.

[options] is only used when opening a new window. If present,
it must be a Dict. Similarly to |++opt|, These entries are
it must be a Dict. Similarly to |++opt|, these entries are
recognized:
"ff" file format: "dos", "mac" or "unix"
"fileformat" idem
Expand Down