Skip to content

Commit e824bd6

Browse files
authored
Merge pull request #1087 from tsuyoshicho/update/20220424/starting
Update starting.{txt,jax}
2 parents 03fc8fd + 584d6fa commit e824bd6

File tree

2 files changed

+22
-4
lines changed

2 files changed

+22
-4
lines changed

doc/starting.jax

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*starting.txt* For Vim バージョン 8.2. Last change: 2022 Feb 01
1+
*starting.txt* For Vim バージョン 8.2. Last change: 2022 May 10
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -340,6 +340,12 @@ VMSでは全てのオプション引数は小文字であるとみなされる
340340
例: >
341341
vim -V20vimlog foobar
342342
<
343+
--log {filename} *--log*
344+
ログの出力を開始し、ファイル {filename} に書き込む。
345+
これは、起動時の非常に早い段階で `ch_logfile({filename}, 'a')`
346+
を呼び出すのと同様な動作である。
347+
{+channel が有効な場合のみ利用可能}
348+
343349
*-D*
344350
-D デバッグする。スクリプトの最初のコマンドを実行するところからデ
345351
バッグを開始する。|debug-mode|
@@ -550,6 +556,7 @@ VMSでは全てのオプション引数は小文字であるとみなされる
550556
入力された内容を人間が読めるように記録したい場合は、
551557
|ch_logfile()| を使用することができる。これは "raw key input"
552558
行を追加する。
559+
|--log| も参照。
553560

554561
*-W*
555562
-W {scriptout} -wに似ているが、アペンド(追加)せずに、既にあるファイルを上書き
@@ -708,6 +715,7 @@ Evimでは以下のオプションが標準設定から変更される:
708715
:set guioptions-=a 非Unixのみ。選択時に自動的にコピーしない
709716

710717
キーマッピング:
718+
<CTRL-Q> 終了する、変更があれば `:confirm` のプロンプトを使う
711719
<Down> 実際の行ではなく表示された行の単位で移動する
712720
<Up> 同上
713721
Q "gq" コマンドで文章整形する。
@@ -719,7 +727,6 @@ Evimでは以下のオプションが標準設定から変更される:
719727
<C-Insert> 同上
720728
CTRL-V クリップボードから貼り付ける(どのモードでも)
721729
<S-Insert> 同上
722-
CTRL-Q 本来のCTRL-Vの機能
723730
CTRL-Z 元に戻す(undo)
724731
CTRL-Y やり直し(redo)
725732
<M-Space> システムメニューを表示
@@ -737,6 +744,8 @@ Evimでは以下のオプションが標準設定から変更される:
737744
ヒント: ノーマルモードのコマンドを連続して使用するにはCTRL-Lを使用する。
738745
|i_CTRL-L|
739746

747+
"簡易モード" を終了させる方法はない、Vimを終了させる必要がある。
748+
740749
==============================================================================
741750
4. 初期化 *initialization* *startup*
742751

en/starting.txt

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*starting.txt* For Vim version 8.2. Last change: 2022 Feb 01
1+
*starting.txt* For Vim version 8.2. Last change: 2022 May 10
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -344,6 +344,12 @@ a slash. Thus "-R" means recovery and "-/R" readonly.
344344
Example: >
345345
vim -V20vimlog foobar
346346
<
347+
--log {filename} *--log*
348+
Start logging and write entries to {filename}.
349+
This works like calling `ch_logfile({filename}, 'a')` very
350+
early during startup.
351+
{only available with the +channel feature}
352+
347353
*-D*
348354
-D Debugging. Go to debugging mode when executing the first
349355
command from a script. |debug-mode|
@@ -564,6 +570,7 @@ a slash. Thus "-R" means recovery and "-/R" readonly.
564570
{scriptout} cannot start with a digit.
565571
If you want to record what is typed in a human readable for
566572
you can use |ch_logfile()|, It adds "raw key input" lines.
573+
Also see |--log|.
567574

568575
*-W*
569576
-W {scriptout} Like -w, but do not append, overwrite an existing file.
@@ -730,6 +737,7 @@ In Evim these options are changed from their default value:
730737
:set guioptions-=a non-Unix only: don't do auto-select
731738

732739
Key mappings:
740+
<CTRL-Q> quit, using `:confirm` prompt if there are changes
733741
<Down> moves by screen lines rather than file lines
734742
<Up> idem
735743
Q does "gq", formatting, instead of Ex mode
@@ -740,7 +748,6 @@ Key mappings:
740748
<C-Insert> idem
741749
CTRL-V Pastes from the clipboard (in any mode)
742750
<S-Insert> idem
743-
CTRL-Q do what CTRL-V used to do
744751
CTRL-Z undo
745752
CTRL-Y redo
746753
<M-Space> system menu
@@ -757,6 +764,8 @@ Additionally:
757764
One hint: If you want to go to Normal mode to be able to type a sequence of
758765
commands, use CTRL-L. |i_CTRL-L|
759766

767+
There is no way to stop "easy mode", you need to exit Vim.
768+
760769
==============================================================================
761770
4. Initialization *initialization* *startup*
762771

0 commit comments

Comments
 (0)