diff --git a/doc/channel.jax b/doc/channel.jax index 3d5827450..7db55cdb8 100644 --- a/doc/channel.jax +++ b/doc/channel.jax @@ -1,4 +1,4 @@ -*channel.txt* For Vim バージョン 8.2. Last change: 2020 Oct 17 +*channel.txt* For Vim バージョン 8.2. Last change: 2021 Nov 28 VIMリファレンスマニュアル by Bram Moolenaar @@ -101,7 +101,7 @@ send を呼ぶたびに毎回コールバックを指定する代わりに、チ ることもできます: > call ch_close(channel) let channel = ch_open('localhost:8765', {'callback': "MyHandler"}) - call ch_sendexpr(channel, 'hello!') + call ch_sendexpr(channel, 'hello channel!') チャネルを試してみると、何が起こっているのかを知ることができます。あなたは Vim にログファイルに行を書くよう指示することができます: > @@ -114,7 +114,7 @@ send を呼ぶたびに毎回コールバックを指定する代わりに、チ チャネルを開くには次のようにします: > let channel = ch_open({address} [, {options}]) if ch_status(channel) == "open" - " use the channel + " チャネルを使う |ch_status()| を使用して、チャネルを開くことができたかどうかを確認します。 @@ -131,9 +131,9 @@ IPv6 アドレスを使う時、角カッコでくくった中に納めてくだ "nl" - NL 文字で終わるメッセージを使う "raw" - raw メッセージを使う *channel-callback* *E921* -"callback" メッセージ受信時に他のハンドラーで扱われない時に呼ばれます。こ - れはチャネルのハンドルと、受信したメッセージの 2 つの引数を取 - ります。例: > +"callback" メッセージ受信時に他のハンドラーで扱われない時に呼ばれます + (例えば、ID が0の JSON メッセージ)。これはチャネルのハンドル + と、受信したメッセージの 2 つの引数を取ります。例: > func Handle(channel, msg) echo '受信した: ' . a:msg endfunc diff --git a/doc/filetype.jax b/doc/filetype.jax index 3e6c8b694..a924e40d8 100644 --- a/doc/filetype.jax +++ b/doc/filetype.jax @@ -145,18 +145,19 @@ NOTE: Vi互換とは全てのオプションがグローバルであることを ファイル名 変数 ~ *.asa g:filetype_asa |ft-aspvbs-syntax| |ft-aspperl-syntax| - *.asp g:filetype_asp |ft-aspvbs-syntax| |ft-aspperl-syntax| *.asm g:asmsyntax |ft-asm-syntax| - *.prg g:filetype_prg - *.pl g:filetype_pl - *.inc g:filetype_inc - *.w g:filetype_w |ft-cweb-syntax| + *.asp g:filetype_asp |ft-aspvbs-syntax| |ft-aspperl-syntax| + *.fs g:filetype_fs |ft-forth-syntax| *.i g:filetype_i |ft-progress-syntax| + *.inc g:filetype_inc *.m g:filetype_m |ft-mathematica-syntax| *.p g:filetype_p |ft-pascal-syntax| + *.pl g:filetype_pl *.pp g:filetype_pp |ft-pascal-syntax| + *.prg g:filetype_prg *.sh g:bash_is_sh |ft-sh-syntax| *.tex g:tex_flavor |ft-tex-plugin| + *.w g:filetype_w |ft-cweb-syntax| *filetype-ignore* 特定のファイルが検査されないようにするには、g:ft_ignore_pat 変数を使う。この変 diff --git a/doc/motion.jax b/doc/motion.jax index 2c2689c55..2c4ed2de9 100644 --- a/doc/motion.jax +++ b/doc/motion.jax @@ -1,4 +1,4 @@ -*motion.txt* For Vim バージョン 8.2. Last change: 2021 Jun 13 +*motion.txt* For Vim バージョン 8.2. Last change: 2021 Dec 04 VIMリファレンスマニュアル by Bram Moolenaar @@ -388,6 +388,8 @@ w [count] word 前方に。|exclusive| or ** *W* W [count] WORD 前方に。|exclusive| + もし が動かないなら、|arrow_modifiers| を確認 + のこと。 *e* e [count] word 前方の単語の終わりに。|inclusive| @@ -402,6 +404,8 @@ b [count] word 後方に。|exclusive| or ** *B* B [count] WORD 後方に。|exclusive| + もし が動かないなら、|arrow_modifiers| を確認 + のこと。 *ge* ge [count] word 後方の単語の最後に。|inclusive| diff --git a/doc/quickfix.jax b/doc/quickfix.jax index 80ce229e2..bd02784f8 100644 --- a/doc/quickfix.jax +++ b/doc/quickfix.jax @@ -1,4 +1,4 @@ -*quickfix.txt* For Vim バージョン 8.2. Last change: 2021 May 22 +*quickfix.txt* For Vim バージョン 8.2. Last change: 2021 Dec 03 VIMリファレンスマニュアル by Bram Moolenaar @@ -803,9 +803,9 @@ locationリストウィンドウからファイルを選択すると、以下の *:chistory* *:chi* :[count]chi[story] エラーリストの一覧を表示する。現在のリストは ">" でマー クされる。出力は以下の様になる: - error list 1 of 3; 43 errors ~ - > error list 2 of 3; 0 errors ~ - error list 3 of 3; 15 errors ~ + error list 1 of 3; 43 errors :make ~ + > error list 2 of 3; 0 errors :helpgrep tag ~ + error list 3 of 3; 15 errors :grep ex_help *.c ~ [count] が与えられると、count番目のquickfixリストがカ レントリストになる。例: > diff --git a/doc/quickref.jax b/doc/quickref.jax index 74a7ccafd..87e032169 100644 --- a/doc/quickref.jax +++ b/doc/quickref.jax @@ -650,6 +650,7 @@ 'buflisted' 'bl' バッファリストにバッファを表示するかどうか 'buftype' 'bt' バッファのタイプ 'casemap' 'cmp' 文字の大小の変換方法を決める +'cdhome' 'cdh' ":cd" でディレクトリをホームディレクトリに変える 'cdpath' 'cd' ":cd" コマンドで検索するディレクトリ 'cedit' コマンドラインウィンドウを開くためのキー 'charconvert' 'ccv' 文字コードの変換に使用する式 diff --git a/doc/windows.jax b/doc/windows.jax index a10c6b356..01ce9600f 100644 --- a/doc/windows.jax +++ b/doc/windows.jax @@ -1,4 +1,4 @@ -*windows.txt* For Vim バージョン 8.2. Last change: 2021 Sep 09 +*windows.txt* For Vim バージョン 8.2. Last change: 2021 Nov 29 VIMリファレンスマニュアル by Bram Moolenaar @@ -1226,6 +1226,8 @@ CTRL-W g } *CTRL-W_g}* ば、そのままカレントバッファが編集される。 [!]については |:buffer-!| を参照。これはバッファリストにないバッファも 'buflisted' フラグを設定することなく編集する。 + ここではシングルクォート付きの記法は使えない。 + `:buf 12'345'` は 12'345 をバッファ名として使う。 |+cmd| も参照。 :[N]b[uffer][!] [+cmd] {bufname} *{bufname}* diff --git a/en/channel.txt b/en/channel.txt index 39cb43c00..6124a8945 100644 --- a/en/channel.txt +++ b/en/channel.txt @@ -1,4 +1,4 @@ -*channel.txt* For Vim version 8.2. Last change: 2020 Oct 17 +*channel.txt* For Vim version 8.2. Last change: 2021 Nov 28 VIM REFERENCE MANUAL by Bram Moolenaar @@ -101,7 +101,7 @@ Instead of giving a callback with every send call, it can also be specified when opening the channel: > call ch_close(channel) let channel = ch_open('localhost:8765', {'callback': "MyHandler"}) - call ch_sendexpr(channel, 'hello!') + call ch_sendexpr(channel, 'hello channel!') When trying out channels it's useful to see what is going on. You can tell Vim to write lines in log file: > @@ -132,8 +132,9 @@ When using an IPv6 address, enclose it within square brackets. E.g., "raw" - Use raw messages *channel-callback* *E921* "callback" A function that is called when a message is received that is - not handled otherwise. It gets two arguments: the channel - and the received message. Example: > + not handled otherwise (e.g. a JSON message with ID zero). It + gets two arguments: the channel and the received message. + Example: > func Handle(channel, msg) echo 'Received: ' . a:msg endfunc diff --git a/en/filetype.txt b/en/filetype.txt index 38622a426..d832e9b11 100644 --- a/en/filetype.txt +++ b/en/filetype.txt @@ -139,18 +139,19 @@ can be used to overrule the filetype used for certain extensions: file name variable ~ *.asa g:filetype_asa |ft-aspvbs-syntax| |ft-aspperl-syntax| - *.asp g:filetype_asp |ft-aspvbs-syntax| |ft-aspperl-syntax| *.asm g:asmsyntax |ft-asm-syntax| - *.prg g:filetype_prg - *.pl g:filetype_pl - *.inc g:filetype_inc - *.w g:filetype_w |ft-cweb-syntax| + *.asp g:filetype_asp |ft-aspvbs-syntax| |ft-aspperl-syntax| + *.fs g:filetype_fs |ft-forth-syntax| *.i g:filetype_i |ft-progress-syntax| + *.inc g:filetype_inc *.m g:filetype_m |ft-mathematica-syntax| *.p g:filetype_p |ft-pascal-syntax| + *.pl g:filetype_pl *.pp g:filetype_pp |ft-pascal-syntax| + *.prg g:filetype_prg *.sh g:bash_is_sh |ft-sh-syntax| *.tex g:tex_flavor |ft-tex-plugin| + *.w g:filetype_w |ft-cweb-syntax| *filetype-ignore* To avoid that certain files are being inspected, the g:ft_ignore_pat variable diff --git a/en/motion.txt b/en/motion.txt index b50bd65c5..6e243fda9 100644 --- a/en/motion.txt +++ b/en/motion.txt @@ -1,4 +1,4 @@ -*motion.txt* For Vim version 8.2. Last change: 2021 Jun 13 +*motion.txt* For Vim version 8.2. Last change: 2021 Dec 04 VIM REFERENCE MANUAL by Bram Moolenaar @@ -386,6 +386,8 @@ w [count] words forward. |exclusive| motion. or ** *W* W [count] WORDS forward. |exclusive| motion. + If does not work, check out + |arrow_modifiers|. *e* e Forward to the end of word [count] |inclusive|. @@ -400,6 +402,8 @@ b [count] words backward. |exclusive| motion. or ** *B* B [count] WORDS backward. |exclusive| motion. + If does not work, check out + |arrow_modifiers|. *ge* ge Backward to the end of word [count] |inclusive|. diff --git a/en/quickfix.txt b/en/quickfix.txt index 9ebefa956..47ead217f 100644 --- a/en/quickfix.txt +++ b/en/quickfix.txt @@ -1,4 +1,4 @@ -*quickfix.txt* For Vim version 8.2. Last change: 2021 May 22 +*quickfix.txt* For Vim version 8.2. Last change: 2021 Dec 03 VIM REFERENCE MANUAL by Bram Moolenaar @@ -856,9 +856,9 @@ lists. They set one of the existing error lists as the current one. *:chistory* *:chi* :[count]chi[story] Show the list of error lists. The current list is marked with ">". The output looks like: - error list 1 of 3; 43 errors ~ - > error list 2 of 3; 0 errors ~ - error list 3 of 3; 15 errors ~ + error list 1 of 3; 43 errors :make ~ + > error list 2 of 3; 0 errors :helpgrep tag ~ + error list 3 of 3; 15 errors :grep ex_help *.c ~ When [count] is given, then the count'th quickfix list is made the current list. Example: > diff --git a/en/quickref.txt b/en/quickref.txt index f1e2ac422..aa5a36a33 100644 --- a/en/quickref.txt +++ b/en/quickref.txt @@ -635,6 +635,7 @@ Short explanation of each option: *option-list* 'buflisted' 'bl' whether the buffer shows up in the buffer list 'buftype' 'bt' special type of buffer 'casemap' 'cmp' specifies how case of letters is changed +'cdhome' 'cdh' change directory to the home directory by ":cd" 'cdpath' 'cd' list of directories searched with ":cd" 'cedit' key used to open the command-line window 'charconvert' 'ccv' expression for character encoding conversion diff --git a/en/windows.txt b/en/windows.txt index c288377ca..2f608352d 100644 --- a/en/windows.txt +++ b/en/windows.txt @@ -1,4 +1,4 @@ -*windows.txt* For Vim version 8.2. Last change: 2021 Sep 09 +*windows.txt* For Vim version 8.2. Last change: 2021 Nov 29 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1203,6 +1203,8 @@ list of buffers. |unlisted-buffer| the current buffer remains being edited. See |:buffer-!| for [!]. This will also edit a buffer that is not in the buffer list, without setting the 'buflisted' flag. + The notation with single quotes does not work here, + `:buf 12'345'` uses 12'345 as a buffer name. Also see |+cmd|. :[N]b[uffer][!] [+cmd] {bufname} *{bufname}*