vim-jp / vimdoc-ja / Vim 9.2 ドキュメント

Vim 9.2 日本語ドキュメント 全文検索

per page, with , order by , clip by
Results of 1 - 10 of about 25 for while (0.008 sec.)
develop 13981
develop.txt For Vim バージョン 9.2. Last change: 2026 Feb 14 VIM リファレンスマニュアル by Bram Moolenaar Vimの開発 development この文書は、Vimの更なる開発に参加しようという人にとって重要である。 1. 設計上の目標 design-goals 2. 決定事項 des ... 行しなければならない: OK: if (cond) { cmd; cmd; } else { cmd; cmd; } 間違い: if (cond) { cmd; cmd; } else { cmd; cmd; } OK: while (cond) { cmd; cmd; } 間違い: while (cond) { cmd; cmd; } OK: do { cmd; cmd; } while (cond); または do { cmd; cmd; } while ( ... cond); 間違い: do { cmd; cmd; } while (cond); 型 style-types 説明的な型を使用すること。これらは src/vim.h や src/structs.h などで定義されて いる。 Note すべての ... 意 例: linenr_T buf_T pos_T 空白と句読法 style-spaces 関数名と括弧の間に空白はない: OK: func(arg); 間違い: func (arg); if , while , switch 等の後には空白を入れること。 OK: if (arg) for (;;) 間違い: if(arg) for(;;) コンマまたはセミコロンの後に空白を入れ ...
https://man.mtool.work/vimdoc-ja/9.2/develop.html
usr_25 11457
usr_25.txt For Vim バージョン 9.2. Last change: 2026 Feb 14 VIM ユーザーマニュアル by Bram Moolenaar テキストの整形 文章を一行に一文ずつ書くようなことはほとんどありません。この章では、テキストが 画面に収まるように整形する方法などを説明します ... for a whil そのまま続けて文章の残りを入力しましょう: 1 2 3 12345678901234567890123456789012345 I taught programming for a while. One time, I was stopped by the Fort Worth police, because my homework was too hard. True story. 自分で改行する必要はありま ... 行目の "programming" を削除すると、単にその行が短くなるだけです: 1 2 3 12345678901234567890123456789012345 I taught for a while. One time, I was stopped by the Fort Worth police, because my homework was too hard. True story. これはよくありません。"gq ... 、"4j" で段落の最後まで移動し、"gq" オペレータを実 行します。結果: 1 2 3 12345678901234567890123456789012345 I taught for a while. One time, I was stopped by the Fort Worth police, because my homework was too hard. True story. Note : 特定の書式に従った ...
https://man.mtool.work/vimdoc-ja/9.2/usr_25.html
usr_44 10942
usr_44.txt For Vim バージョン 9.2. Last change: 2026 Feb 14 VIM ユーザーマニュアル by Bram Moolenaar 構文ファイルを作成する Vim は 200 種類以上ものファイルを強調表示できます。強調表示されないファイルを 見つけた場合は、本章を読んで、ファイル ... れは次のように定義できます: :syntax region xBlock start=/{/ end=/}/ contains=xBlock 例えば、次のようなテキストがあった場合: while i < b { if a { b = c; } } まず、一行目の { で一つ目の xBlock が開始します。二行目には別の { があります。 そこは xBlock の中 ... と end の部分にマッチしなく なります。次の "transparent" の例題ではそれを利用しています。 透過 例えば C 言語のファイルで、"while" の後の () と、"for" の後の () を別の方法で 強調表示してみます。両方とも () を入れ子にできて、それが外側の () と同じ方法で ... されるようにします。() の強調表示は ) がマッチしたところでストップしま す。それには、例えば次のようにします: :syntax region cWhile matchgroup=cWhile start=/while\s*(/ end=/)/ \ contains=cCondNest :syntax region cFor matchgroup=cFor start=/for\s*(/ end=/ ...
https://man.mtool.work/vimdoc-ja/9.2/usr_44.html
usr_41 9680
usr_41.txt For Vim バージョン 9.2. Last change: 2026 Sep 30 VIM ユーザーマニュアル by Bram Moolenaar Vim script 書法 Vim script 言語は vimrc ファイルや構文ファイルなど、さまざまな目的に使われま す。この章では Vim script の書き方を説明します ... 本型: :edit test.vim [あなたが望むだけスクリプト行を挿入します] :w :source % 簡単な例から始めましょう: vim9script var i = 1 while i < 5 echo "count is" i i += 1 endwhile 出力は次のようになります: count is 1 count is 2 count is 3 count is 4 最初の行の v ... コマンドは変数 "i" の宣言と初期化になります。 書式は次のとおりです: var {変数名} = {式} 例では、変数名が "i"、式が 1 です。 :while コマンドでループを開始します。書式は次のとおりです: while {条件式} {ステートメント} endwhile 条件式が真である間、 endwhile ... ートメントが実行されます。 例では、条件式は "i < 5" です。これは、i が 5 より小さい場合に真になります。 Note : 何かのミスで while ループが止まらなかった場合は、 CTRL-C を押せば中断で きます (MS-Windows では CTRL-Break )。 echo コマンドは引数を出力します ...
https://man.mtool.work/vimdoc-ja/9.2/usr_41.html
version8 9680
version8.txt For Vim バージョン 9.2. Last change: 2026 Oct 17 VIM リファレンスマニュアル by Bram Moolenaar vim8 vim-8 version-8.0 version8.0 ようこそ Vim 8 へ! 多数のバグが修正され、いくつかの素敵な機能が追加されている。 このファイルは Vim ... FAIL and break out of the loop. Files: src/window.c, src/proto/window.pro, src/buffer.c Patch 7.4.005 Problem: Using "vaB" while 'virtualedit' is set selects the wrong area. (Dimitar Dimitrov) Solution: Reset coladd when finding a match. Files: src/se ... f it wasn't set yet. Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok Patch 7.4.022 Problem: Deadlock while exiting, because of allocating memory. Solution: Do not use gettext() in deathtrap(). (James McCoy) Files: src/os_unix.c, ... type cast. (Mike Williams) Files: src/edit.c Patch 7.4.024 Problem: When root edits a file the undo file is owned by root while the edited file may be owned by another user, which is not allowed. (cac2s) Solution: Accept an undo file owned by the cur ...
https://man.mtool.work/vimdoc-ja/9.2/version8.html
indent 8916
indent.txt For Vim バージョン 9.2. Last change: 2026 Feb 14 VIM リファレンスマニュアル by Bram Moolenaar このファイルにはCソースコードとその他のファイルのインデント(字下げ)について書 かれている。 1. Cスタイルのソースコードのインデント C-ind ... をタイプした時にインデント再調整をする。"word" は実 際は別の単語の一部かもしれない。"=end" のように設定すれば "endif" や "endwhile" の "d" をタイプした時に再調整が起こる。しかし "bend" では起 こらない。補完により "word" で始まる単語が提示された時にも再調 ... no=e-2 if (cond) { if (cond) { if (cond) { foo; foo; foo; } } } else else else { { { bar; bar; bar; } } } cino-n nN "if", "while" その他の直後、波カッコのセットに囲まれていないなら ば、その文のインデントを現行よりも N 追加する。文の前に '{' が無 い時と ... rgument, argument); argument); a_short_line(argument, a_short_line(argument, argument); argument); cino-k kN "if", "for", "while" の後の丸カッコが閉じていなくて、 N が 0 でな い時、"( N " で指定される挙動を上書きする。これにより、外側の文脈 (例えば、" ...
https://man.mtool.work/vimdoc-ja/9.2/indent.html
if_lua 8418
if_lua.txt For Vim バージョン 9.2. Last change: 2026 Sep 29 VIM リファレンスマニュアル by Luis Carvalho Vim の Lua インターフェイス lua Lua 1. コマンド lua-commands 2. vim モジュール lua-vim 3. List ユーザーデータ lua-list 4. Dict ユーザーデ ... () -- バッファを開きカレントに設定 function! ListBuffers() lua << EOF local b = vim.buffer(true) -- リストの最初のバッファ while b ~= nil do print(b.number, b.name, #b) b = b:next() end vim.beep() EOF endfunction ====================================== ... w.col) :lua w.width = w.width + math.random(10) :lua w.height = 2 * math.random() * w.height :lua n,w = 0,vim.window(true) while w~=nil do n,w = n + 1,w:next() end :lua print("There are " .. n .. " windows") =========================================== ...
https://man.mtool.work/vimdoc-ja/9.2/if_lua.html
if_tcl 8169
if_tcl.txt For Vim バージョン 9.2. Last change: 2026 Feb 14 VIM リファレンスマニュアル by Ingo Wilken VimへのTclインターフェイス tcl Tcl TCL 1. コマンド tcl-ex-commands 2. Tcl コマンド tcl-commands 3. Tcl 変数 tcl-variables 4. Tcl ウィンドウ ... last" は、どんな行番号の設定でも機能することに注目: set buf $::vim::current(buffer) set t $::vim::lbase set b [$buf last] while { $t < $b } { set tl [$buf get $t] set bl [$buf get $b] $buf set $t $bl $buf set $b $tl incr t incr b -1 } このスクリプトは ... 、現在の範囲の各行に連続した番号を付け加える: set buf $::vim::current(buffer) set i $::vim::range(start) set n 1 while { $i <= $::vim::range(end) } { set line [$buf get $i] $buf set $i "$n\t$line" incr i ; incr n } 同じことが、":tcldo" による ...
https://man.mtool.work/vimdoc-ja/9.2/if_tcl.html
version9 8169
version9.txt For Vim バージョン 9.2. Last change: 2026 Oct 25 VIM リファレンスマニュアル by Bram Moolenaar vim-9.0 vim-9 version-9.0 version9.0 Vim 9 へようこそ! 前回のリリースから数年が経過した。 多数のバグが修正され、多くの優れた機能が追加 ... : src/testdir/Make_all.mak, src/testdir/test_alot_utf8.vim, src/testdir/test_source_utf8.vim Patch 8.2.0353 Problem: Vim9: while loop not tested. Solution: Add test with "while", "break" and "continue" Files: src/testdir/test_vim9_script.vim Patch 8.2 ... src/vim9script.c Patch 8.2.0420 Problem: Vim9: cannot interrupt a loop with CTRL-C . Solution: Check for CTRL-C once in a while. Doesn't fully work yet. Files: src/misc1.c, src/proto/misc1.pro, src/testdir/test_vim9_script.vim Patch 8.2.0421 Problem: ... Interrupting with CTRL-C does not always work. Solution: Recognize CTRL-C while modifyOtherKeys is set. Files: src/ui.c, src/testdir/test_vim9_script.vim, src/evalfunc.c Patch 8.2.0422 Problem: Crash wh ...
https://man.mtool.work/vimdoc-ja/9.2/version9.html
vimindex 8169
index.txt For Vim バージョン 9.2. Last change: 2026 Feb 14 VIM リファレンスマニュアル by Bram Moolenaar index このファイルには各モードのすべてのコマンドが列挙されており、タグと短い説明が示 されている。一覧はASCIIコード順に並んでいる。 Tip: ... s :bp[revious] バッファリストの前のバッファを開く :brewind :br[ewind] バッファリストの先頭のバッファを開く :break :brea[k] while ループを抜ける :breakadd :breaka[dd] デバッガのブレークポイントを追加する :breakdel :breakd[el] デバッガのブレークポイント ... omc[lear] すべてのユーザー定義コマンドの削除 :compiler :comp[iler] 指定したコンパイラ用の設定をする :continue :con[tinue] :while に戻って実行を続ける :confirm :conf[irm] コマンドを実行し、ユーザーの確認が必要ならプロ ンプトを表示する :const :cons[t] 定 ... r の終了 :endfunction :endf[unction] :function で開始したユーザー定義関数の終了 :endtry :endt[ry] 直前の:tryを終了する :endwhile :endw[hile] 直前の :while の終了 :enew :ene[w] 新しい名無しバッファを開く :enum :enum 列挙型指定の開始 :eval :ev[al] 式を評 ...
https://man.mtool.work/vimdoc-ja/9.2/vimindex.html
PREV 1 2 3 NEXT