索引

Nvim の:help ページ。 生成された ファイルで、 ソースtree-sitter-vimdoc パーサーを使用して処理されています。


このファイルには、各モードのすべてのコマンドがタグと簡単な説明とともにリストされています。リストはASCII値でソートされています。
ヒント: 特定の機能を探している場合は、検索コマンドを使用してください。例: 何かを削除するには、"/delete" を使用します。
オプションの概要については option-list を、ビルトイン関数の概要については functions を、Vim 変数のリストについては vim-variable を参照してください。

1. インサートモード insert-index

タグ 文字 インサートモードでの動作
------------------------------------------------------------------------------
i_CTRL-@ CTRL-@ 直前に挿入されたテキストを挿入し、挿入を停止 i_CTRL-A CTRL-A 直前に挿入されたテキストを挿入 i_CTRL-C CTRL-C 省略形をチェックせずにインサートモードを終了 i_CTRL-D CTRL-D 現在行からインデントの1シフト幅を削除 i_CTRL-E CTRL-E カーソル下の文字を挿入 CTRL-F 使用されない (ただし、デフォルトでは 'cinkeys' に現在行を再インデントするよう設定されている) i_CTRL-G_j CTRL-G CTRL-J 行を下に移動、挿入を開始した列へ i_CTRL-G_j CTRL-G j 行を下に移動、挿入を開始した列へ i_CTRL-G_j CTRL-G <Down> 行を下に移動、挿入を開始した列へ i_CTRL-G_k CTRL-G CTRL-K 行を上に移動、挿入を開始した列へ i_CTRL-G_k CTRL-G k 行を上に移動、挿入を開始した列へ i_CTRL-G_k CTRL-G <Up> 行を上に移動、挿入を開始した列へ i_CTRL-G_u CTRL-G u 新しいアンドゥ可能な編集を開始 i_CTRL-G_U CTRL-G U 次のカーソル移動でアンドゥを中断しない i_<BS> <BS> カーソル前の文字を削除 i_digraph {char1}<BS>{char2} ダイグラフを入力 ( 'digraph' オプションが設定されている場合のみ) i_CTRL-H CTRL-H <BS> と同じ i_<Tab> <Tab> <Tab> 文字を挿入 i_CTRL-I CTRL-I <Tab> と同じ i_<NL> <NL> <CR> と同じ i_CTRL-J CTRL-J <CR> と同じ i_CTRL-K CTRL-K {char1} {char2} ダイグラフを入力 i_<CR> <CR> 新しい行を開始 i_CTRL-M CTRL-M <CR> と同じ i_CTRL-N CTRL-N カーソル前のキーワードの次のマッチを見つける i_CTRL-O CTRL-O 単一のコマンドを実行し、インサートモードに戻る i_CTRL-P CTRL-P カーソル前のキーワードの前のマッチを見つける i_CTRL-Q CTRL-Q ターミナル制御フローに使用されない限り、CTRL-V と同じ i_CTRL-SHIFT-Q CTRL-SHIFT-Q {char} tui-modifyOtherKeys がアクティブでない限り、CTRL-Q と同じ i_CTRL-R CTRL-R {register} レジスタの内容を挿入 i_CTRL-R_CTRL-R CTRL-R CTRL-R {register} レジスタの内容をそのまま挿入 i_CTRL-R_CTRL-O CTRL-R CTRL-O {register} レジスタの内容をそのまま挿入し、自動インデントしない i_CTRL-R_CTRL-P CTRL-R CTRL-P {register} レジスタの内容をそのまま挿入し、インデントを修正 CTRL-S 使用されないか、ターミナル制御フローに使用される i_CTRL-T CTRL-T 現在行にインデントの1シフト幅を挿入 i_CTRL-U CTRL-U 現在行に入力されたすべての文字を削除 i_CTRL-V CTRL-V {char} 次の非数字をそのまま挿入 i_CTRL-SHIFT-V CTRL-SHIFT-V {char} tui-modifyOtherKeys がアクティブでない限り、CTRL-V と同じ i_CTRL-V_digit CTRL-V {number} 3桁の10進数を1バイトとして挿入 i_CTRL-W CTRL-W カーソル前の単語を削除 i_CTRL-X CTRL-X {mode} CTRL-X サブモードに入る、 i_CTRL-X_index を参照 i_CTRL-Y CTRL-Y カーソル上の文字を挿入 i_<Esc> <Esc> インサートモードを終了 i_CTRL-[ CTRL-[ <Esc> と同じ i_CTRL-\_CTRL-N CTRL-\ CTRL-N 通常モードへ移動 i_CTRL-\_CTRL-G CTRL-\ CTRL-G 通常モードへ移動 CTRL-\ a - z は拡張機能用に予約済み CTRL-\ その他は使用されない i_CTRL-] CTRL-] 省略形をトリガー i_CTRL-^ CTRL-^ :lmap マッピングの使用を切り替え i_CTRL-_ CTRL-_ 'allowrevins' が設定されている場合: 'revins' を切り替え
<Space> から '~' まで使用されない、'0' と '^' の後に CTRL-D が続く場合を除く
i_0_CTRL-D 0 CTRL-D 現在行のすべてのインデントを削除 i_^_CTRL-D ^ CTRL-D 現在行のすべてのインデントを削除し、次の行に復元
i_<Del> <Del> カーソル下の文字を削除
メタ文字 (0x80 から 0xff、128 から 255) は使用されない
i_<Left> <Left> カーソルを1文字左に移動 i_<S-Left> <S-Left> カーソルを1単語左に移動 i_<C-Left> <C-Left> カーソルを1単語左に移動 i_<Right> <Right> カーソルを1文字右に移動 i_<S-Right> <S-Right> カーソルを1単語右に移動 i_<C-Right> <C-Right> カーソルを1単語右に移動 i_<Up> <Up> カーソルを1行上に移動 i_<S-Up> <S-Up> <PageUp> と同じ i_<Down> <Down> カーソルを1行下に移動 i_<S-Down> <S-Down> <PageDown> と同じ i_<Home> <Home> カーソルを行頭に移動 i_<C-Home> <C-Home> カーソルをファイルの先頭に移動 i_<End> <End> カーソルを行末に移動 i_<C-End> <C-End> カーソルをファイルの末尾に移動 i_<PageUp%3E <PageUp> 1画面分後ろに移動 i_<PageDown%3E <PageDown> 1画面分前に移動 i_<F1> <F1> <Help> と同じ i_<Help> <Help> インサートモードを停止し、ヘルプウィンドウを表示 i_<Insert> <Insert> インサート/置換モードを切り替え i_<LeftMouse%3E <LeftMouse> マウスクリックの位置にカーソルを移動 i_<ScrollWheelDown%3E <ScrollWheelDown> ウィンドウを3行下に移動 i_<S-ScrollWheelDown%3E <S-ScrollWheelDown> ウィンドウを1ページ下に移動 i_<ScrollWheelUp%3E <ScrollWheelUp> ウィンドウを3行上に移動 i_<S-ScrollWheelUp> <S-ScrollWheelUp> ウィンドウを1ページ上に移動 i_<ScrollWheelLeft%3E <ScrollWheelLeft> ウィンドウを6列左に移動 i_<S-ScrollWheelLeft> <S-ScrollWheelLeft> ウィンドウを1ページ左に移動 i_<ScrollWheelRight%3E <ScrollWheelRight> ウィンドウを6列右に移動 i_<S-ScrollWheelRight%3E <S-ScrollWheelRight> ウィンドウを1ページ右に移動
CTRL-X サブモードのコマンド i_CTRL-X_index
i_CTRL-X_CTRL-D CTRL-X CTRL-D 定義済みの識別子を補完 i_CTRL-X_CTRL-E CTRL-X CTRL-E 上にスクロール i_CTRL-X_CTRL-F CTRL-X CTRL-F ファイル名を補完 i_CTRL-X_CTRL-I CTRL-X CTRL-I 識別子を補完 i_CTRL-X_CTRL-K CTRL-X CTRL-K 辞書から識別子を補完 i_CTRL-X_CTRL-L CTRL-X CTRL-L 行全体を補完 i_CTRL-X_CTRL-N CTRL-X CTRL-N 次の補完 i_CTRL-X_CTRL-O CTRL-X CTRL-O オムニ補完 i_CTRL-X_CTRL-P CTRL-X CTRL-P 前の補完 i_CTRL-X_CTRL-S CTRL-X CTRL-S スペル候補 i_CTRL-X_CTRL-T CTRL-X CTRL-T シソーラスから識別子を補完 i_CTRL-X_CTRL-Y CTRL-X CTRL-Y 下にスクロール i_CTRL-X_CTRL-U CTRL-X CTRL-U 'completefunc' で補完 i_CTRL-X_CTRL-V CTRL-X CTRL-V コマンドラインのように補完 i_CTRL-X_CTRL-Z CTRL-X CTRL-Z 補完を停止し、テキストをそのまま維持 i_CTRL-X_CTRL-] CTRL-X CTRL-] タグを補完 i_CTRL-X_s CTRL-X s スペル候補
補完モードのコマンド ( popupmenu-keys を参照)
complete_CTRL-E CTRL-E 補完を停止し、元のテキストに戻る complete_CTRL-Y CTRL-Y 選択された候補を受け入れ、補完を停止 CTRL-L 現在候補から1文字挿入 <CR> 現在選択されている候補を挿入 <BS> 1文字削除して検索をやり直す CTRL-H <BS> と同じ <Up> 前の候補を選択 <Down> 次の候補を選択 <PageUp> いくつかの候補前を選択 <PageDown> いくつかの候補後を選択 その他 補完を停止して入力された文字を挿入

2. 通常モード normal-index

CHAR 空白以外の任意の文字 WORD 空白以外の文字のシーケンス N コマンドの前に入力された数値 {motion} カーソル移動コマンド Nmove {motion} で移動したテキスト SECTION '{' ではなく '}' で始まる可能性のあるセクション
注記: 1 = カーソル移動コマンド; 2 = アンドゥ/リドゥ可能
タグ 文字 注記 通常モードでの動作
------------------------------------------------------------------------------
CTRL-@ 使用されません CTRL-A CTRL-A 2 カーソル位置以降の数値にNを加算 CTRL-B CTRL-B 1 N画面分後ろにスクロール CTRL-C CTRL-C 現在の(検索)コマンドを中断 CTRL-D CTRL-D 下方向にN行スクロール(デフォルト:半画面) CTRL-E CTRL-E 上方向にN行スクロール(N行追加) CTRL-F CTRL-F 1 N画面分前にスクロール CTRL-G CTRL-G 現在のファイル名と位置を表示 <BS> <BS> 1 "h"と同じ CTRL-H CTRL-H 1 "h"と同じ <Tab> <Tab> 1 ジャンプリストでN個新しいエントリへ移動 CTRL-I CTRL-I 1 <Tab>と同じ <NL> <NL> 1 "j"と同じ <S-NL> <S-NL> 1 CTRL-Fと同じ CTRL-J CTRL-J 1 "j"と同じ CTRL-K 使用されません CTRL-L CTRL-L 画面を再描画 <CR> <CR> 1 カーソルをN行下最初の文字へ移動 <S-CR> <S-CR> 1 CTRL-Fと同じ CTRL-M CTRL-M 1 <CR>と同じ CTRL-N CTRL-N 1 "j"と同じ CTRL-O CTRL-O 1 ジャンプリストでN個古いエントリへ移動 CTRL-P CTRL-P 1 "k"と同じ CTRL-Q 使用されません、またはターミナル制御フローに使用 CTRL-R CTRL-R 2 'u'で元に戻した変更をやり直す CTRL-S 使用されません、またはターミナル制御フローに使用 CTRL-T CTRL-T タグリストでN個古いタグへジャンプ CTRL-U CTRL-U 上方向にN行スクロール(デフォルト:半画面) CTRL-V CTRL-V ブロック単位のビジュアルモードを開始 CTRL-W CTRL-W {char} ウィンドウコマンド、CTRL-Wを参照 CTRL-X CTRL-X 2 カーソル位置以降の数値からNを減算 CTRL-Y CTRL-Y 下方向にN行スクロール CTRL-Z CTRL-Z プログラムを中断(または新しいシェルを開始) CTRL-[ <Esc> 使用されません CTRL-\_CTRL-N CTRL-\ CTRL-N 通常モードへ移動(何もしない) CTRL-\_CTRL-G CTRL-\ CTRL-G 通常モードへ移動(何もしない) CTRL-\ a - z は拡張用に予約 CTRL-\ その他は使用されません CTRL-] CTRL-] :ta カーソル下の識別子へ移動 CTRL-^ CTRL-^ N番目の代替ファイルを編集(":e #N"と同等) CTRL-<Tab> CTRL-<Tab> g<Tab>と同じ:最後にアクセスしたタブページへ移動 CTRL-_ 使用されません
<Space> <Space> 1 same as "l" ! !{motion}{filter} 2 filter Nmove text through the {filter} command !! !!{filter} 2 filter N lines through the {filter} command quote "{register} use {register} for next delete, yank or put ({.%#:} only work with put) # # 1 search backward for the Nth occurrence of the ident under the cursor $ $ 1 cursor to the end of Nth next line % % 1 find the next (curly/square) bracket on this line and go to its match, or go to matching comment bracket, or go to matching preprocessor directive. N% {count}% 1 go to N percentage in the file & & 2 repeat last :s ' '{a-zA-Z0-9} 1 cursor to the first CHAR on the line with mark {a-zA-Z0-9} '' '' 1 cursor to the first CHAR of the line where the cursor was before the latest jump. '( '( 1 cursor to the first CHAR on the line of the start of the current sentence ') ') 1 cursor to the first CHAR on the line of the end of the current sentence '< '< 1 cursor to the first CHAR of the line where highlighted area starts/started in the current buffer. '> '> 1 cursor to the first CHAR of the line where highlighted area ends/ended in the current buffer. '[ '[ 1 cursor to the first CHAR on the line of the start of last operated text or start of put text '] '] 1 cursor to the first CHAR on the line of the end of last operated text or end of put text '{ '{ 1 cursor to the first CHAR on the line of the start of the current paragraph '} '} 1 cursor to the first CHAR on the line of the end of the current paragraph ( ( 1 cursor N sentences backward ) ) 1 cursor N sentences forward star * 1 search forward for the Nth occurrence of the ident under the cursor + + 1 same as <CR> <S-Plus> <S-+> 1 same as CTRL-F , , 1 repeat latest f, t, F or T in opposite direction N times - - 1 cursor to the first CHAR N lines higher <S-Minus> <S--> 1 same as CTRL-B . . 2 repeat last change with count replaced with N / /{pattern}<CR> 1 search forward for the Nth occurrence of {pattern} /<CR> /<CR> 1 search forward for {pattern} of last search 0 0 1 cursor to the first char of the line count 1 prepend to command to give a count count 2 " count 3 " count 4 " count 5 " count 6 " count 7 " count 8 " count 9 " : : 1 start entering an Ex command N: {count}: start entering an Ex command with range from current line to N-1 lines down ; ; 1 repeat latest f, t, F or T N times < <{motion} 2 shift Nmove lines one 'shiftwidth' leftwards << << 2 shift N lines one 'shiftwidth' leftwards = ={motion} 2 filter Nmove lines through "indent" == == 2 filter N lines through "indent" > >{motion} 2 shift Nmove lines one 'shiftwidth' rightwards >> >> 2 shift N lines one 'shiftwidth' rightwards ? ?{pattern}<CR> 1 search backward for the Nth previous occurrence of {pattern} ?<CR> ?<CR> 1 search backward for {pattern} of last search @ @{a-z} 2 execute the contents of register {a-z} N times @: @: repeat the previous ":" command N times @@ @@ 2 repeat the previous @{a-z} N times A A 2 append text after the end of the line N times B B 1 cursor N WORDS backward C ["x]C 2 change from the cursor position to the end of the line, and N-1 more lines [into register x]; synonym for "c$" D ["x]D 2 delete the characters under the cursor until the end of the line and N-1 more lines [into register x]; synonym for "d$" E E 1 cursor forward to the end of WORD N F F{char} 1 cursor to the Nth occurrence of {char} to the left G G 1 cursor to line N, default last line H H 1 cursor to line N from top of screen I I 2 insert text before the first CHAR on the line N times J J 2 Join N lines; default is 2 K K lookup Keyword under the cursor with 'keywordprg' L L 1 cursor to line N from bottom of screen M M 1 cursor to middle line of screen N N 1 repeat the latest '/' or '?' N times in opposite direction O O 2 begin a new line above the cursor and insert text, repeat N times P ["x]P 2 put the text [from register x] before the cursor N times R R 2 enter replace mode: overtype existing characters, repeat the entered text N-1 times S ["x]S 2 delete N lines [into register x] and start insert; synonym for "cc". T T{char} 1 cursor till after Nth occurrence of {char} to the left U U 2 undo all latest changes on one line V V start linewise Visual mode W W 1 cursor N WORDS forward X ["x]X 2 delete N characters before the cursor [into register x] Y ["x]Y yank N lines [into register x]; synonym for "yy" Note: Mapped to "y$" by default. default-mappings ZZ ZZ write if buffer changed and close window ZQ ZQ close window without writing [ [{char} square bracket command (see [ below) \ not used ] ]{char} square bracket command (see ] below) ^ ^ 1 cursor to the first CHAR of the line _ _ 1 cursor to the first CHAR N - 1 lines lower ` {a-zA-Z0-9} 1 cursor to the mark {a-zA-Z0-9} `( ( 1 cursor to the start of the current sentence `) ) 1 cursor to the end of the current sentence `< < 1 cursor to the start of the highlighted area `> > 1 cursor to the end of the highlighted area `[ [ 1 cursor to the start of last operated text or start of putted text `] ] 1 cursor to the end of last operated text or end of putted text `` "``" 1 cursor to the position before latest jump `{ { 1 cursor to the start of the current paragraph `} } 1 cursor to the end of the current paragraph a a 2 append text after the cursor N times b b 1 cursor N words backward c ["x]c{motion} 2 delete Nmove text [into register x] and start insert cc ["x]cc 2 delete N lines [into register x] and start insert d ["x]d{motion} 2 delete Nmove text [into register x] dd ["x]dd 2 delete N lines [into register x] do do 2 same as ":diffget" dp dp 2 same as ":diffput" e e 1 cursor forward to the end of word N f f{char} 1 cursor to Nth occurrence of {char} to the right g g{char} extended commands, see g below h h 1 cursor N chars to the left i i 2 insert text before the cursor N times j j 1 cursor N lines downward k k 1 cursor N lines upward l l 1 cursor N chars to the right m m{A-Za-z} set mark {A-Za-z} at cursor position n n 1 repeat the latest '/' or '?' N times o o 2 begin a new line below the cursor and insert text, repeat N times p ["x]p 2 put the text [from register x] after the cursor N times q q{0-9a-zA-Z"} record typed characters into named register {0-9a-zA-Z"} (uppercase to append) q q (while recording) stops recording Q Q 2 replay last recorded register q: q: edit : command-line in command-line window q/ q/ edit / command-line in command-line window q? q? edit ? command-line in command-line window r r{char} 2 replace N chars with {char} s ["x]s 2 (substitute) delete N characters [into register x] and start insert t t{char} 1 cursor till before Nth occurrence of {char} to the right u u 2 undo changes v v start charwise Visual mode w w 1 cursor N words forward x ["x]x 2 delete N characters under and after the cursor [into register x] y ["x]y{motion} yank Nmove text [into register x] yy ["x]yy yank N lines [into register x] z z{char} commands starting with 'z', see z below { { 1 cursor N paragraphs backward bar | 1 cursor to column N } } 1 cursor N paragraphs forward ~ ~ 2 'tildeop' off: switch case of N characters under cursor and move the cursor N characters to the right ~ ~{motion} 'tildeop' on: switch case of Nmove text <C-End> <C-End> 1 same as "G" <C-Home> <C-Home> 1 same as "gg" <C-Left> <C-Left> 1 same as "b" <C-LeftMouse> <C-LeftMouse> ":ta" to the keyword at the mouse click <C-Right> <C-Right> 1 same as "w" <C-RightMouse> <C-RightMouse> same as "CTRL-T" <C-Tab> <C-Tab> same as "g<Tab>" <Del> ["x]<Del> 2 same as "x" N<Del> {count}<Del> remove the last digit from {count} <Down> <Down> 1 same as "j" <End> <End> 1 same as "$" <F1> <F1> same as <Help> <Help> <Help> open a help window <Home> <Home> 1 same as "0" <Insert> <Insert> 2 same as "i" <Left> <Left> 1 same as "h" <LeftMouse> <LeftMouse> 1 move cursor to the mouse click position <MiddleMouse> <MiddleMouse> 2 same as "gP" at the mouse click position <PageDown> <PageDown> same as CTRL-F <PageUp> <PageUp> same as CTRL-B <Right> <Right> 1 same as "l" <RightMouse> <RightMouse> start Visual mode, move cursor to the mouse click position <S-Down> <S-Down> 1 same as CTRL-F <S-Left> <S-Left> 1 same as "b" <S-LeftMouse> <S-LeftMouse> same as "*" at the mouse click position <S-Right> <S-Right> 1 same as "w" <S-RightMouse> <S-RightMouse> same as "#" at the mouse click position <S-Up> <S-Up> 1 same as CTRL-B <Undo> <Undo> 2 same as "u" <Up> <Up> 1 same as "k" <ScrollWheelDown> <ScrollWheelDown> move window three lines down <S-ScrollWheelDown> <S-ScrollWheelDown> move window one page down <ScrollWheelUp> <ScrollWheelUp> move window three lines up <S-ScrollWheelUp> <S-ScrollWheelUp> move window one page up <ScrollWheelLeft> <ScrollWheelLeft> move window six columns left <S-ScrollWheelLeft> <S-ScrollWheelLeft> move window one page left <ScrollWheelRight> <ScrollWheelRight> move window six columns right <S-ScrollWheelRight> <S-ScrollWheelRight> move window one page right

2.1 テキストオブジェクト オブジェクト

これらは、オペレータの後またはビジュアルモードで使用して、オブジェクトを選択できます。
オペレータ保留中およびビジュアルモードでのタグコマンドアクション
------------------------------------------------------------------------------
v_aquote a" ダブルクォーテーションで囲まれた文字列 v_a' a' シングルクォーテーションで囲まれた文字列 v_a( a( abと同じ v_a) a) abと同じ v_a< a< '<'から対応する'>'までの"<>" v_a> a> a<と同じ v_aB aB "ブロック" [{から]}まで(括弧を含む) v_aW aW "単語"(空白を含む) v_a[ a[ "[]" '['から対応する']'まで v_a] a] a[と同じ v_a` a` バッククォートで囲まれた文字列 v_ab ab "ブロック" "[("から"))"まで(波括弧を含む) v_ap ap "段落"(空白を含む) v_as as "文"(空白を含む) v_at at "タグブロック"(空白を含む) v_aw aw "単語"(空白を含む) v_a{ a{ aBと同じ v_a} a} aBと同じ v_iquote i" ダブルクォーテーションで囲まれた文字列(クォーテーションを除く) v_i' i' シングルクォーテーションで囲まれた文字列(クォーテーションを除く) v_i( i( ibと同じ v_i) i) ibと同じ v_i< i< '<'から対応する'>'までの"内部<>" v_i> i> i<と同じ v_iB iB "内部ブロック" [{]}の間 v_iW iW "内部単語" v_i[ i[ "内部[]" '['から対応する']'まで v_i] i] i[と同じ v_i` i` バッククォートで囲まれた文字列(バッククォートを除く) v_ib ib "内部ブロック" "[("から"))"まで v_ip ip "内部段落" v_is is "内部文" v_it it "内部タグブロック" v_iw iw "内部単語" v_i{ i{ iBと同じ v_i} i} iBと同じ

2.2 ウィンドウコマンド CTRL-W

通常モードでのタグコマンドアクション
------------------------------------------------------------------------------
CTRL-W_CTRL-B CTRL-W CTRL-B "CTRL-W b" と同じ CTRL-W_CTRL-C CTRL-W CTRL-C "CTRL-W c" と同じ CTRL-W_CTRL-D CTRL-W CTRL-D "CTRL-W d" と同じ CTRL-W_CTRL-F CTRL-W CTRL-F "CTRL-W f" と同じ CTRL-W CTRL-G "CTRL-W g ..." と同じ CTRL-W_CTRL-H CTRL-W CTRL-H "CTRL-W h" と同じ CTRL-W_CTRL-I CTRL-W CTRL-I "CTRL-W i" と同じ CTRL-W_CTRL-J CTRL-W CTRL-J "CTRL-W j" と同じ CTRL-W_CTRL-K CTRL-W CTRL-K "CTRL-W k" と同じ CTRL-W_CTRL-L CTRL-W CTRL-L "CTRL-W l" と同じ CTRL-W_CTRL-N CTRL-W CTRL-N "CTRL-W n" と同じ CTRL-W_CTRL-O CTRL-W CTRL-O "CTRL-W o" と同じ CTRL-W_CTRL-P CTRL-W CTRL-P "CTRL-W p" と同じ CTRL-W_CTRL-Q CTRL-W CTRL-Q "CTRL-W q" と同じ CTRL-W_CTRL-R CTRL-W CTRL-R "CTRL-W r" と同じ CTRL-W_CTRL-S CTRL-W CTRL-S "CTRL-W s" と同じ CTRL-W_CTRL-T CTRL-W CTRL-T "CTRL-W t" と同じ CTRL-W_CTRL-V CTRL-W CTRL-V "CTRL-W v" と同じ CTRL-W_CTRL-W CTRL-W CTRL-W "CTRL-W w" と同じ CTRL-W_CTRL-X CTRL-W CTRL-X "CTRL-W x" と同じ CTRL-W_CTRL-Z CTRL-W CTRL-Z "CTRL-W z" と同じ CTRL-W_CTRL-] CTRL-W CTRL-] "CTRL-W ]" と同じ CTRL-W_CTRL-^ CTRL-W CTRL-^ "CTRL-W ^" と同じ CTRL-W_CTRL-_ CTRL-W CTRL-_ "CTRL-W _" と同じ CTRL-W_+ CTRL-W + 現在のウィンドウの高さをN行増やす CTRL-W_- CTRL-W - 現在のウィンドウの高さをN行減らす CTRL-W_< CTRL-W < 現在のウィンドウの幅をN列減らす CTRL-W_= CTRL-W = 全てのウィンドウの高さと幅を同じにする CTRL-W_> CTRL-W > 現在のウィンドウの幅をN列増やす CTRL-W_H CTRL-W H 現在のウィンドウを一番左に移動 CTRL-W_J CTRL-W J 現在のウィンドウを一番下に移動 CTRL-W_K CTRL-W K 現在のウィンドウを一番上に移動 CTRL-W_L CTRL-W L 現在のウィンドウを一番右に移動 CTRL-W_P CTRL-W P プレビューウィンドウへ移動 CTRL-W_R CTRL-W R ウィンドウをN回上方向に回転 CTRL-W_S CTRL-W S "CTRL-W s" と同じ CTRL-W_T CTRL-W T 現在のウィンドウを新しいタブページに移動 CTRL-W_W CTRL-W W N個前のウィンドウへ移動 (循環) CTRL-W_] CTRL-W ] ウィンドウを分割し、カーソル下のタグへジャンプ CTRL-W_^ CTRL-W ^ 現在のウィンドウを分割し、代替ファイルNを編集 CTRL-W__ CTRL-W _ 現在のウィンドウの高さをNに設定 (デフォルト:非常に高い) CTRL-W_b CTRL-W b 下のウィンドウへ移動 CTRL-W_c CTRL-W c 現在のウィンドウを閉じる (:close と同じ) CTRL-W_d CTRL-W d ウィンドウを分割し、カーソル下の定義へジャンプ CTRL-W_f CTRL-W f ウィンドウを分割し、カーソル下のファイル名を編集 CTRL-W_F CTRL-W F ウィンドウを分割し、カーソル下のファイル名を編集し、ファイル名に続く行番号へジャンプ。 CTRL-W_g_CTRL-] CTRL-W g CTRL-] ウィンドウを分割し、カーソル下のタグに :tjump する CTRL-W_g] CTRL-W g ] ウィンドウを分割し、カーソル下のタグに :tselect を実行 CTRL-W_g} CTRL-W g } カーソル下のタグに :ptjump を実行 CTRL-W_gf CTRL-W g f 新しいタブページでカーソル下のファイル名を編集 CTRL-W_gF CTRL-W g F 新しいタブページでカーソル下のファイル名を編集し、ファイル名に続く行番号へジャンプ。 CTRL-W_gt CTRL-W g t gt と同じ: 次のタブページへ移動 CTRL-W_gT CTRL-W g T gT と同じ: 前のタブページへ移動 CTRL-W_g<Tab> CTRL-W g <Tab> g<Tab> と同じ: 最後にアクセスしたタブページへ移動 CTRL-W_h CTRL-W h N番目の左側のウィンドウへ移動 (最初のウィンドウで停止) CTRL-W_i CTRL-W i ウィンドウを分割し、カーソル下の識別子の宣言へジャンプ CTRL-W_j CTRL-W j N個下のウィンドウへ移動 (最後のウィンドウで停止) CTRL-W_k CTRL-W k N個上のウィンドウへ移動 (最初のウィンドウで停止) CTRL-W_l CTRL-W l N番目の右側のウィンドウへ移動 (最後のウィンドウで停止) CTRL-W_n CTRL-W n 新しいウィンドウを開く、高さN行 CTRL-W_o CTRL-W o 現在のウィンドウ以外を全て閉じる (:only と同じ) CTRL-W_p CTRL-W p 前の (最後にアクセスした) ウィンドウへ移動 CTRL-W_q CTRL-W q 現在のウィンドウを終了 (:quit と同じ) CTRL-W_r CTRL-W r ウィンドウをN回下方向に回転 CTRL-W_s CTRL-W s 現在のウィンドウを2つの部分に分割、新しいウィンドウは高さN行 CTRL-W_t CTRL-W t 上のウィンドウへ移動 CTRL-W_v CTRL-W v 現在のウィンドウを垂直に分割、新しいウィンドウは幅N列 CTRL-W_w CTRL-W w N個次のウィンドウへ移動 (循環) CTRL-W_x CTRL-W x 現在のウィンドウとウィンドウNを交換 (デフォルト: 次のウィンドウ) CTRL-W_z CTRL-W z プレビューウィンドウを閉じる CTRL-W_bar CTRL-W | ウィンドウの幅をN列に設定 CTRL-W_} CTRL-W } カーソル下のタグをプレビューウィンドウに表示 CTRL-W_<Down> CTRL-W <Down> "CTRL-W j" と同じ CTRL-W_<Up> CTRL-W <Up> "CTRL-W k" と同じ CTRL-W_<Left> CTRL-W <Left> "CTRL-W h" と同じ CTRL-W_<Right> CTRL-W <Right> "CTRL-W l" と同じ

2.3 角括弧コマンド [ ]

タグ 文字 注記 通常モードでの動作
------------------------------------------------------------------------------
[_CTRL-D [ CTRL-D カーソル下の単語に一致する、現在のファイルとインクルードされたファイルで見つかった最初の #define にジャンプする。現在のファイルの先頭から検索を開始する。 [_CTRL-I [ CTRL-I カーソル下の単語を含む、現在のファイルとインクルードされたファイルの最初の行にジャンプする。現在のファイルの先頭から検索を開始する。 [# [# 1 カーソルをN個前の対応していない #if、#else、または #ifdef に移動 [' [' 1 前の小文字のマークにカーソルを移動する (最初の空白でない文字へ) [( [( 1 カーソルを対応していない '(' のN個前に移動 [star [* 1 "[/" と同じ [` [ 1 前の小文字のマークにカーソルを移動 [/ [/ 1 カーソルをN個前のC言語コメントの先頭に移動 [D [D カーソル下の単語に一致する、現在のファイルとインクルードされたファイルで見つかった全ての define を一覧表示する。現在のファイルの先頭から検索を開始する。 [I [I カーソル下の単語を含む、現在のファイルとインクルードされたファイルの全ての行を一覧表示する。現在のファイルの先頭から検索を開始する。 [P [P 2 "[p" と同じ [[ [[ 1 カーソルをNセクション後ろに移動 [] [] 1 カーソルをNセクション後ろに移動 [c [c 1 カーソルをN回変更の先頭に巻き戻す [d [d カーソル下の単語に一致する、現在のファイルとインクルードされたファイルで見つかった最初の #define を表示する。現在のファイルの先頭から検索を開始する。 [f [f "gf" と同じ [i [i カーソル下の単語を含む、現在のファイルとインクルードされたファイルで見つかった最初の行を表示する。現在のファイルの先頭から検索を開始する。 [m [m 1 カーソルをメンバ関数の先頭にN回巻き戻す [p [p 2 "P" と似ているが、インデントを現在の行に合わせる [s [s 1 前のスペルミスのある単語へ移動 [z [z 1 開いている折り畳みの先頭に移動 [{ [{ 1 カーソルを対応していない '{' のN個前に移動 [<MiddleMouse> [<MiddleMouse> 2 "[p" と同じ
]_CTRL-D ] CTRL-D カーソル下の単語に一致する、現在のファイルとインクルードされたファイルで見つかった最初の #define にジャンプする。カーソル位置から検索を開始する。 ]_CTRL-I ] CTRL-I カーソル下の単語を含む、現在のファイルとインクルードされたファイルの最初の行にジャンプする。カーソル位置から検索を開始する。 ]# ]# 1 カーソルをN個後の対応していない #endif または #else に移動 ]' ]' 1 次の小文字のマークにカーソルを移動する (最初の空白でない文字へ) ]) ]) 1 カーソルを対応していない ')' のN個前に移動 ]star ]* 1 "]/" と同じ ]` ]` 1 次の小文字のマークにカーソルを移動 ]/ ]/ 1 カーソルをN個後のC言語コメントの末尾に移動 ]D ]D カーソル下の単語に一致する、現在のファイルとインクルードされたファイルで見つかった全ての #define を一覧表示する。カーソル位置から検索を開始する。 ]I ]I カーソル下の単語を含む、現在のファイルとインクルードされたファイルの全ての行を一覧表示する。カーソル位置から検索を開始する。 ]P ]P 2 "[p" と同じ ][ ][ 1 カーソルをNセクション前に移動 ]] ]] 1 カーソルをNセクション前に移動 ]c ]c 1 カーソルを変更の先頭にN回進める ]d ]d カーソル下の単語に一致する、現在のファイルとインクルードされたファイルで見つかった最初の #define を表示する。カーソル位置から検索を開始する。 ]f ]f "gf" と同じ ]i ]i カーソル下の単語を含む、現在のファイルとインクルードされたファイルで見つかった最初の行を表示する。カーソル位置から検索を開始する。 ]m ]m 1 カーソルをメンバ関数の末尾にN回進める ]p ]p 2 "p" と似ているが、インデントを現在の行に合わせる ]s ]s 1 次のスペルミスのある単語へ移動 ]z ]z 1 開いている折り畳みの末尾に移動 ]} ]} 1 カーソルを対応していない '}' のN個後に移動 ]<MiddleMouse> ]<MiddleMouse> 2 "]p" と同じ

2.4 'g' で始まるコマンド g

タグ 文字 注記 通常モードでの動作
------------------------------------------------------------------------------
g_CTRL-G g CTRL-G 現在カーソル位置に関する情報を表示 g_CTRL-H g CTRL-H ブロック選択モードを開始 g_CTRL-] g CTRL-] :tjump カーソル下のタグへ移動 g# g# 1 "#"と同様だが、"\<"と"\>"を使用しない g$ g$ 1 'wrap' がオフの場合、画面上の現在の行の右端の文字へ移動。 'wrap' がオンの場合、現在の画面行の右端の文字へ移動 g& g& 2 最後の":s"をすべての行で繰り返す g' g'{mark} 1 ' と同様だが、ジャンプリストを変更しない g` g`{mark} 1 ` と同様だが、ジャンプリストを変更しない gstar g* 1 "*"と同様だが、"\<"と"\>"を使用しない g+ g+ N回新しいテキスト状態へ移動 g, g, 1 変更リストでN個新しい位置へ移動 g- g- N回古いテキスト状態へ移動 g0 g0 1 'wrap' がオフの場合、画面上の現在の行の左端の文字へ移動。 'wrap' がオンの場合、現在の画面行の左端の文字へ移動 g8 g8 カーソル下のUTF-8文字で使用されているバイトの16進値を出力 g; g; 1 変更リストでN個古い位置へ移動 g< g< 前回のコマンド出力を表示 g? g? 2 Rot13エンコード演算子 g?g? g?? 2 現在の行をRot13エンコード g?g? g?g? 2 現在の行をRot13エンコード gD gD 1 現在のファイル内でカーソル下の単語の定義へ移動 gE gE 1 前のWORDの終わりへ逆方向に移動 gH gH 行選択モードを開始 gI gI 2 "I"と同様だが、常に1列目から開始 gJ gJ 2 スペースを挿入せずに行を結合 gN gN 1,2 最後に使用した検索パターンで前のマッチを見つけて視覚的に選択 gP ["x]gP 2 テキスト[レジスタxから]をカーソルの前にN回配置し、カーソルをその後に残す gQ gQ Vim編集で"Ex"モードに切り替える gR gR 2 仮想置換モードに入る gT gT 前のタブページへ移動 gU gU{motion} 2 N個の移動したテキストを大文字にする gV gV 選択モードでマッピングまたはメニューを実行するときに、前の視覚領域を再選択しない g] g] カーソル下のタグで:tselectを実行 g^ g^ 1 'wrap' がオフの場合、画面上の現在の行の最初の非空白文字へ移動。 'wrap' がオンの場合、現在の画面行の最初の非空白文字へ移動 g_ g_ 1 カーソルをN-1行下の最後のCHARへ移動 ga ga カーソル下の文字のASCII値を出力 gd gd 1 現在の関数内でカーソル下の単語の定義へ移動 ge ge 1 前の単語の終わりへ逆方向に移動 gf gf カーソル下のファイル名で編集を開始 gF gF カーソル下のファイル名で編集を開始し、ファイル名に続く行番号へジャンプ gg gg 1 カーソルをN行目へ移動(デフォルトは1行目) gh gh 選択モードを開始 gi gi 2 "i"と同様だが、最初に'^'マークへ移動 gj gj 1 "j"と同様だが、'wrap'がオンの場合、N画面行下へ移動 gk gk 1 "k"と同様だが、'wrap'がオンの場合、N画面行上へ移動 gm gm 1 画面行の中央の文字へ移動 gM gM 1 テキスト行の中央の文字へ移動 gn gn 1,2 最後に使用した検索パターンで次のマッチを見つけて視覚的に選択 go go 1 バッファ内のNバイト目にカーソルを移動 gp ["x]gp 2 テキスト[レジスタxから]をカーソルの後にN回配置し、カーソルをその後に残す gq gq{motion} 2 N個の移動したテキストをフォーマット gr gr{char} 2 N文字を{char}で仮想的に置換 gs gs N秒間スリープする(デフォルト1秒) gt gt 次のタブページへ移動 gu gu{motion} 2 N個の移動したテキストを小文字にする gv gv 前の視覚領域を再選択 gw gw{motion} 2 N個の移動したテキストをフォーマットし、カーソルを維持 netrw-gx gx カーソル下のファイル名に対してアプリケーションを実行( netrw プラグインを使用する場合のみ) g@ g@{motion} 'operatorfunc' を呼び出す g~ g~{motion} 2 N個の移動したテキストの大文字小文字を入れ替える g<Down> g<Down> 1 "gj"と同じ g<End> g<End> 1 "g$"と同じ g<Home> g<Home> 1 "g0"と同じ g<LeftMouse> g<LeftMouse> <C-LeftMouse>と同じ g<MiddleMouse> <C-MiddleMouse>と同じ g<RightMouse> g<RightMouse> <C-RightMouse>と同じ g<Tab> g<Tab> 最後にアクセスしたタブページへ移動 g<Up> g<Up> 1 "gk"と同じ

2.5 'z'で始まるコマンド z

タグ 文字 注記 通常モードでの動作
------------------------------------------------------------------------------
z<CR> z<CR> 再描画、カーソル行をウィンドウの上部に移動、最初の非空白文字にカーソルを置く zN<CR> z{height}<CR> 再描画、ウィンドウの高さを{height}行にする z+ z+ カーソルをN行目(デフォルトはウィンドウの下の行)に移動、それ以外は"z<CR>"と同じ z- z- 再描画、カーソル行をウィンドウの下部に移動、最初の非空白文字にカーソルを置く z. z. 再描画、カーソル行をウィンドウの中央に移動、最初の非空白文字にカーソルを置く z= z= スペル候補を表示 zA zA 閉じられた折り畳みを展開するか、開かれた折り畳みを再帰的に閉じる zC zC 折り畳みを再帰的に閉じる zD zD 折り畳みを再帰的に削除 zE zE すべての折り畳みを削除 zF zF N行分の折り畳みを作成 zG zG 単語を一時的に正しくスペルされたものとしてマーク zH zH 'wrap'がオフの場合、画面幅の半分だけ右にスクロール zL zL 'wrap'がオフの場合、画面幅の半分だけ左にスクロール zM zM 'foldlevel'をゼロに設定 zN zN 'foldenable'を設定 zO zO 折り畳みを再帰的に展開 zR zR 'foldlevel'を最も深い折り畳みに設定 zW zW 単語を一時的に間違ってスペルされたものとしてマーク zX zX 'foldlevel'を再適用 z^ z^ カーソルをN行目(デフォルトはウィンドウの上の行)に移動、それ以外は"z-"と同じ za za 閉じられた折り畳みを展開するか、開かれた折り畳みを閉じる zb zb 再描画、カーソル行をウィンドウの下部に移動 zc zc 折り畳みを閉じる zd zd 折り畳みを削除 ze ze 'wrap'がオフの場合、カーソルを画面の右端に水平スクロール zf zf{motion} N個の移動したテキスト分の折り畳みを作成 zg zg 単語を恒久的に正しくスペルされたものとしてマーク zh zh 'wrap'がオフの場合、画面をN文字だけ右にスクロール zi zi 'foldenable'を切り替える zj zj 1 次の折り畳みの先頭に移動 zk zk 1 前の折り畳みの最後に移動 zl zl 'wrap'がオフの場合、画面をN文字だけ左にスクロール zm zm 'foldlevel'から1を引く zn zn 'foldenable'をリセット zo zo 折り畳みを展開 zp zp 末尾のスペースなしでブロックモードでペースト zP zP 末尾のスペースなしでブロックモードでペースト zr zr 'foldlevel'に1を加える zs zs 'wrap'がオフの場合、カーソルを画面の左端に水平スクロール zt zt 再描画、カーソル行をウィンドウの上部に移動 zuw zuw zwを元に戻す zug zug zgを元に戻す zuW zuW zWを元に戻す zuG zuG zGを元に戻す zv zv カーソル行を表示するために十分な折り畳みを展開 zw zw 単語を恒久的に間違ってスペルされたものとしてマーク zx zx 'foldlevel'を再適用し、"zv"を実行 zy zy 末尾のスペースなしでヤンク zz zz 再描画、カーソル行をウィンドウの中央に移動 z<Left> z<Left> "zh"と同じ z<Right> z<Right> "zl"と同じ

2.6 オペレータ保留モード operator-pending-index

これらはオペレータの後、{motion}が入力される前に使用できます。
オペレータ保留モードでのタグ文字とアクション
------------------------------------------------------------------------------
o_v v オペレータを強制的に文字単位で動作させる o_V V オペレータを強制的に行単位で動作させる o_CTRL-V CTRL-V オペレータを強制的にブロック単位で動作させる

3. ビジュアルモード visual-index

ビジュアルモードのほとんどのコマンドはノーマルモードと同じです。ここにリストされているのは、異なるコマンドです。
ビジュアルモードでのタグ、コマンド、備考、アクション
------------------------------------------------------------------------------
v_CTRL-\_CTRL-N CTRL-\ CTRL-N ビジュアルモード停止 v_CTRL-\_CTRL-G CTRL-\ CTRL-G 通常モードへ移動 v_CTRL-A CTRL-A 2 ハイライトされたテキストの数値にNを加算 v_CTRL-C CTRL-C ビジュアルモード停止 v_CTRL-G CTRL-G ビジュアルモードとセレクトモードの切り替え v_<BS> <BS> 2 セレクトモード:ハイライトされた領域を削除 v_CTRL-H CTRL-H 2 <BS> と同じ v_CTRL-O CTRL-O セレクトモードからビジュアルモードに1コマンドだけ切り替え v_CTRL-V CTRL-V ビジュアルモードをブロック単位にする、またはビジュアルモードを停止 v_CTRL-X CTRL-X 2 ハイライトされたテキストの数値からNを減算 v_<Esc> <Esc> ビジュアルモード停止 v_CTRL-] CTRL-] ハイライトされたタグへジャンプ v_! !{filter} 2 ハイライトされた行を外部コマンド{filter}でフィルタリング v_: : ハイライトされた行を範囲としてコマンドラインを開始 v_< < 2 ハイライトされた行を1 'shiftwidth' 左にシフト v_= = 2 'equalprg' オプションで指定された外部プログラムでハイライトされた行をフィルタリング v_> > 2 ハイライトされた行を1 'shiftwidth' 右にシフト v_b_A A 2 ブロックモード:ハイライトされた領域の後、すべての行に同じテキストを追加 v_C C 2 ハイライトされた行を削除して挿入を開始 v_D D 2 ハイライトされた行を削除 v_b_I I 2 ブロックモード:ハイライトされた領域の前、すべての行に同じテキストを挿入 v_J J 2 ハイライトされた行を結合 v_K K 'keywordprg' をハイライトされた領域で実行 v_O O 領域のもう一方の隅に水平移動 v_P P レジスタの内容でハイライトされた領域を置換;レジスタの内容は変更されない v_R R 2 ハイライトされた行を削除して挿入を開始 v_S S 2 ハイライトされた行を削除して挿入を開始 v_U U 2 ハイライトされた領域を大文字にする v_V V ビジュアルモードをライン単位にする、またはビジュアルモードを停止 v_X X 2 ハイライトされた行を削除 v_Y Y ハイライトされた行を yank (コピー) v_aquote a" ハイライト領域をダブルクォートで囲まれた文字列で拡張 v_a' a' ハイライト領域をシングルクォートで囲まれた文字列で拡張 v_a( a( ab と同じ v_a) a) ab と同じ v_a< a< ハイライト領域を <> ブロックで拡張 v_a> a> a< と同じ v_aB aB ハイライト領域を {} ブロックで拡張 v_aW aW ハイライト領域を "a WORD" で拡張 v_a[ a[ ハイライト領域を [] ブロックで拡張 v_a] a] a[ と同じ v_a` a` ハイライト領域をバッククォートで囲まれた文字列で拡張 v_ab ab ハイライト領域を () ブロックで拡張 v_ap ap ハイライト領域を段落で拡張 v_as as ハイライト領域を文で拡張 v_at at ハイライト領域をタグブロックで拡張 v_aw aw ハイライト領域を "a word" で拡張 v_a{ a{ aB と同じ v_a} a} aB と同じ v_c c 2 ハイライトされた領域を削除して挿入を開始 v_d d 2 ハイライトされた領域を削除 v_g_CTRL-A g CTRL-A 2 ハイライトされたテキストの数値にNを加算 v_g_CTRL-X g CTRL-X 2 ハイライトされたテキストの数値からNを減算 v_gJ gJ 2 スペースを挿入せずにハイライトされた行を結合 v_gq gq 2 ハイライトされた行をフォーマット v_gv gv 現在と前のハイライト領域を入れ替える v_iquote i" ハイライト領域をダブルクォートで囲まれた文字列で拡張(クォートなし) v_i' i' ハイライト領域をシングルクォートで囲まれた文字列で拡張(クォートなし) v_i( i( ib と同じ v_i) i) ib と同じ v_i< i< ハイライト領域を内部 <> ブロックで拡張 v_i> i> i< と同じ v_iB iB ハイライト領域を内部 {} ブロックで拡張 v_iW iW ハイライト領域を "inner WORD" で拡張 v_i[ i[ ハイライト領域を内部 [] ブロックで拡張 v_i] i] i[ と同じ v_i` i` ハイライト領域をバッククォートで囲まれた文字列で拡張(バッククォートなし) v_ib ib ハイライト領域を内部 () ブロックで拡張 v_ip ip ハイライト領域を内部段落で拡張 v_is is ハイライト領域を内部文で拡張 v_it it ハイライト領域を内部タグブロックで拡張 v_iw iw ハイライト領域を "inner word" で拡張 v_i{ i{ iB と同じ v_i} i} iB と同じ v_o o カーソルを領域のもう一方の隅に移動 v_p p レジスタの内容でハイライトされた領域を置換;名前のないレジスタに削除されたテキスト v_r r 2 ハイライトされた領域を文字で置換 v_s s 2 ハイライトされた領域を削除して挿入を開始 v_u u 2 ハイライトされた領域を小文字にする v_v v ビジュアルモードを文字単位にする、またはビジュアルモードを停止 v_x x 2 ハイライトされた領域を削除 v_y y ハイライトされた領域を yank (コピー) v_~ ~ 2 ハイライトされた領域の大文字小文字を入れ替える

4. コマンドライン編集 ex-edit-index

':', '!', '/'、または '?' コマンドでコマンドラインにアクセスします。通常の文字は現在のカーソル位置に挿入されます。以下の「補完」はコンテキスト依存の補完を指します。ファイル名、タグ、コマンドなどを適切に補完します。
コマンドライン編集モードでのタグコマンドアクション
------------------------------------------------------------------------------
CTRL-@ 使用されない c_CTRL-A CTRL-A カーソルの前のパターンで補完を行い、すべてのマッチを挿入 c_CTRL-B CTRL-B カーソルをコマンドラインの先頭に移動 c_CTRL-C CTRL-C <Esc> と同じ c_CTRL-D CTRL-D カーソルの前のパターンに一致する補完をリスト表示 c_CTRL-E CTRL-E カーソルをコマンドラインの末尾に移動 'cedit' CTRL-F 'cedit' のデフォルト値:コマンドラインウィンドウを開きます。それ以外は使用されません c_CTRL-G CTRL-G 'incsearch' がアクティブな場合、次のマッチへ c_<BS> <BS> カーソルの前の文字を削除 c_digraph {char1} <BS> {char2} 'digraph' がオンの場合、ダイグラフを入力 c_CTRL-H CTRL-H <BS> と同じ c_<Tab> <Tab> 'wildchar'<Tab> の場合:カーソルの前のパターンで補完を行う c_<S-Tab> <S-Tab> CTRL-P と同じ c_wildchar 'wildchar' カーソルの前のパターンで補完を行う(デフォルト:<Tab>c_CTRL-I CTRL-I <Tab> と同じ c_<NL> <NL> <CR> と同じ c_CTRL-J CTRL-J <CR> と同じ c_CTRL-K CTRL-K {char1} {char2} ダイグラフを入力 c_CTRL-L CTRL-L カーソルの前のパターンで補完を行い、最長の共通部分 を挿入 c_<CR> <CR> 入力されたコマンドを実行 c_CTRL-M CTRL-M <CR> と同じ c_CTRL-N CTRL-N 'wildchar' を複数のマッチで使用した後:次のマッチへ移動、それ以外:履歴から以前のコマンドラインを呼び出す。CTRL-O 使用されない c_CTRL-P CTRL-P 'wildchar' を複数のマッチで使用した後:前のマッチへ移動、それ以外:履歴から以前のコマンドラインを呼び出す。 c_CTRL-Q CTRL-Q ターミナル制御フローに使用されない限り、CTRL-V と同じ c_CTRL-R CTRL-R {regname} カーソル下のレジスタまたはオブジェクトの内容を入力されたかのように挿入 c_CTRL-R_CTRL-R CTRL-R CTRL-R {regname} c_CTRL-R_CTRL-O CTRL-R CTRL-O {regname} レジスタまたはオブジェクトの内容を文字通り挿入 CTRL-S 使用されない、またはターミナル制御フローに使用 c_CTRL-T CTRL-T 'incsearch' がアクティブな場合、前のマッチへ c_CTRL-U CTRL-U すべての文字を削除 c_CTRL-V CTRL-V 次の非数字を文字通り挿入、3桁の10進数を1バイトとして挿入。 c_CTRL-W CTRL-W カーソルの前の単語を削除 CTRL-X 使用されない(補完用に予約) CTRL-Y モードレス選択をコピー(yank) CTRL-Z 使用されない(中断用に予約) c_<Esc> <Esc> 実行せずにコマンドラインを中断 c_CTRL-[ CTRL-[ <Esc> と同じ c_CTRL-\_CTRL-N CTRL-\ CTRL-N 通常モードへ移動、コマンドラインを中断 c_CTRL-\_CTRL-G CTRL-\ CTRL-G 通常モードへ移動、コマンドラインを中断 CTRL-\ a - d は拡張用に予約 c_CTRL-\_e CTRL-\ e {expr} コマンドラインを{expr}の結果で置換 CTRL-\ f - z は拡張用に予約 CTRL-\ その他は使用されない c_CTRL-] CTRL-] 略語をトリガー c_CTRL-^ CTRL-^ :lmap マッピングの使用を切り替え c_<Del> <Del> カーソル下の文字を削除
c_<Left> <Left> カーソル左へ移動 c_<S-Left> <S-Left> カーソルを1単語左へ移動 c_<C-Left> <C-Left> カーソルを1単語左へ移動 c_<Right> <Right> カーソル右へ移動 c_<S-Right> <S-Right> カーソルを1単語右へ移動 c_<C-Right> <C-Right> カーソルを1単語右へ移動 c_<Up> <Up> カーソル位置の手前のパターンに一致するコマンド履歴から一つ前のコマンドを呼び出し c_<S-Up> <S-Up> コマンド履歴から一つ前のコマンドを呼び出し c_<Down> <Down> カーソル位置の手前のパターンに一致するコマンド履歴から次のコマンドを呼び出し c_<S-Down> <S-Down> コマンド履歴から次のコマンドを呼び出し c_<Home> <Home> カーソルをコマンドラインの先頭に移動 c_<End> <End> カーソルをコマンドラインの末尾に移動 c_<PageDown> <PageDown> <S-Down> と同じ c_<PageUp> <PageUp> <S-Up> と同じ c_<Insert> <Insert> インサート/オーバーストライクモードの切り替え c_<LeftMouse> <LeftMouse> マウスクリック位置にカーソルを移動
wildmenu モードのコマンド('wildmenu'参照)
<Up> 親メニューへ移動 <Down> サブメニューへ移動 <Left> 前の候補を選択 <Right> 次の候補を選択 <CR> メニュー補完時にサブメニューへ移動 CTRL-E 補完を停止し、元のテキストに戻る CTRL-Y 選択した候補を受け入れ、補完を停止 その他:補完を停止し、入力した文字を挿入
'wildoptions' が "pum" に設定されている場合の wildmenu モードのコマンド
<PageUp> 複数の候補を遡って選択 <PageDown> 複数の候補を順に選択

5. ターミナルモード terminal-mode-index

ターミナル バッファでは、CTRL-\ を除くすべてのキーがターミナルジョブに転送されます。CTRL-\ が押された場合、次のキーが転送されます(CTRL-N または CTRL-O を除く)。CTRL-\_CTRL-N を使用してノーマルモードに移動します。t_CTRL-\_CTRL-O を使用して、ノーマルモードコマンドを1つ実行し、ターミナルモードに戻ります。
見つけたぞ、アーサー! holy-grail

6. EXコマンド Ex-commands ex-cmd-index :index

これは、引数を一切言及せずに、すべての「:」コマンドを簡潔に網羅したリストです。コマンド名のオプション部分は[]内にあります。コマンドは、必須部分の名称でソートされています。
タグ コマンド アクション
------------------------------------------------------------------------------
: : nothing :range :{range} go to last line in {range} :! :! filter lines or execute an external command :!! :!! repeat last ":!" command :# :# same as ":number" :& :& repeat last ":substitute" :star :* use the last Visual area, like ":'<,'>" :< :< shift lines one 'shiftwidth' left := := print the last line number :> :> shift lines one 'shiftwidth' right :@ :@ execute contents of a register :@@ :@@ repeat the previous ":@" :2match :2mat[ch] define a second match to highlight :3match :3mat[ch] define a third match to highlight :Next :N[ext] go to previous file in the argument list :append :a[ppend] append text :abbreviate :ab[breviate] enter abbreviation :abclear :abc[lear] remove all abbreviations :aboveleft :abo[veleft] make split window appear left or above :all :al[l] open a window for each file in the argument list :amenu :am[enu] enter new menu item for all modes :anoremenu :an[oremenu] enter a new menu for all modes that will not be remapped :args :ar[gs] print the argument list :argadd :arga[dd] add items to the argument list :argdedupe :argded[upe] remove duplicates from the argument list :argdelete :argd[elete] delete items from the argument list :argedit :arge[dit] add item to the argument list and edit it :argdo :argdo do a command on all items in the argument list :argglobal :argg[lobal] define the global argument list :arglocal :argl[ocal] define a local argument list :argument :argu[ment] go to specific file in the argument list :ascii :as[cii] print ascii value of character under the cursor :autocmd :au[tocmd] enter or show autocommands :augroup :aug[roup] select the autocommand group to use :aunmenu :aun[menu] remove menu for all modes :buffer :b[uffer] go to specific buffer in the buffer list :bNext :bN[ext] go to previous buffer in the buffer list :ball :ba[ll] open a window for each buffer in the buffer list :badd :bad[d] add buffer to the buffer list :balt :balt like ":badd" but also set the alternate file :bdelete :bd[elete] remove a buffer from the buffer list :belowright :bel[owright] make split window appear right or below :bfirst :bf[irst] go to first buffer in the buffer list :blast :bl[ast] go to last buffer in the buffer list :bmodified :bm[odified] go to next buffer in the buffer list that has been modified :bnext :bn[ext] go to next buffer in the buffer list :botright :bo[tright] make split window appear at bottom or far right :bprevious :bp[revious] go to previous buffer in the buffer list :brewind :br[ewind] go to first buffer in the buffer list :break :brea[k] break out of while loop :breakadd :breaka[dd] add a debugger breakpoint :breakdel :breakd[el] delete a debugger breakpoint :breaklist :breakl[ist] list debugger breakpoints :browse :bro[wse] use file selection dialog :bufdo :bufdo execute command in each listed buffer :buffers :buffers list all files in the buffer list :bunload :bun[load] unload a specific buffer :bwipeout :bw[ipeout] really delete a buffer :change :c[hange] replace a line or series of lines :cNext :cN[ext] go to previous error :cNfile :cNf[ile] go to last error in previous file :cabbrev :ca[bbrev] like ":abbreviate" but for Command-line mode :cabclear :cabc[lear] clear all abbreviations for Command-line mode :cabove :cabo[ve] go to error above current line :caddbuffer :cad[dbuffer] add errors from buffer :caddexpr :cadde[xpr] add errors from expr :caddfile :caddf[ile] add error message to current quickfix list :cafter :caf[ter] go to error after current cursor :call :cal[l] call a function :catch :cat[ch] part of a :try command :cbefore :cbef[ore] go to error before current cursor :cbelow :cbel[ow] go to error below current line :cbottom :cbo[ttom] scroll to the bottom of the quickfix window :cbuffer :cb[uffer] parse error messages and jump to first error :cc :cc go to specific error :cclose :ccl[ose] close quickfix window :cd :cd change directory :cdo :cdo execute command in each valid error list entry :cfdo :cfd[o] execute command in each file in error list :center :ce[nter] format lines at the center :cexpr :cex[pr] read errors from expr and jump to first :cfile :cf[ile] read file with error messages and jump to first :cfirst :cfir[st] go to the specified error, default first one :cgetbuffer :cgetb[uffer] get errors from buffer :cgetexpr :cgete[xpr] get errors from expr :cgetfile :cg[etfile] read file with error messages :changes :changes print the change list :chdir :chd[ir] change directory :checkhealth :che[ckhealth] run healthchecks :checkpath :checkp[ath] list included files :checktime :checkt[ime] check timestamp of loaded buffers :chistory :chi[story] list the error lists :clast :cla[st] go to the specified error, default last one :clearjumps :cle[arjumps] clear the jump list :clist :cl[ist] list all errors :close :clo[se] close current window :cmap :cm[ap] like ":map" but for Command-line mode :cmapclear :cmapc[lear] clear all mappings for Command-line mode :cmenu :cme[nu] add menu for Command-line mode :cnext :cn[ext] go to next error :cnewer :cnew[er] go to newer error list :cnfile :cnf[ile] go to first error in next file :cnoremap :cno[remap] like ":noremap" but for Command-line mode :cnoreabbrev :cnorea[bbrev] like ":noreabbrev" but for Command-line mode :cnoremenu :cnoreme[nu] like ":noremenu" but for Command-line mode :copy :co[py] copy lines :colder :col[der] go to older error list :colorscheme :colo[rscheme] load a specific color scheme :command :com[mand] create user-defined command :comclear :comc[lear] clear all user-defined commands :compiler :comp[iler] do settings for a specific compiler :continue :con[tinue] go back to :while :confirm :conf[irm] prompt user when confirmation required :const :cons[t] create a variable as a constant :copen :cope[n] open quickfix window :cprevious :cp[revious] go to previous error :cpfile :cpf[ile] go to last error in previous file :cquit :cq[uit] quit Vim with an error code :crewind :cr[ewind] go to the specified error, default first one :cunmap :cu[nmap] like ":unmap" but for Command-line mode :cunabbrev :cuna[bbrev] like ":unabbrev" but for Command-line mode :cunmenu :cunme[nu] remove menu for Command-line mode :cwindow :cw[indow] open or close quickfix window :delete :d[elete] delete lines :debug :deb[ug] run a command in debugging mode :debuggreedy :debugg[reedy] read debug mode commands from normal input :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 :diffpatch :diffp[atch] apply a patch and show differences :diffput :diffpu[t] remove differences in other buffer :diffsplit :diffs[plit] show differences with another file :diffthis :diffthis make current window a diff window :digraphs :dig[raphs] show or enter digraphs :display :di[splay] display registers :djump :dj[ump] jump to #define :dl :dl 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 :dp :d[elete]p short for :delete with the 'p' flag :drop :dr[op] jump to window editing file or edit file in current window :dsearch :ds[earch] list one #define :dsplit :dsp[lit] split window and jump to #define :edit :e[dit] edit a file :earlier :ea[rlier] go to older change, undo :echo :ec[ho] echoes the result of expressions :echoerr :echoe[rr] like :echo, show like an error and use history :echohl :echoh[l] set highlighting for echo commands :echomsg :echom[sg] same as :echo, put message in history :echon :echon same as :echo, but without <EOL> :else :el[se] part of an :if command :elseif :elsei[f] part of an :if command :emenu :em[enu] execute a menu by name :endif :en[dif] end previous :if :endfor :endfo[r] end previous :for :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 :eval :ev[al] evaluate an expression and discard the result :ex :ex same as ":edit" :execute :exe[cute] execute result of expressions :exit :exi[t] same as ":xit" :exusage :exu[sage] overview of Ex commands :fclose :fc[lose] close floating window :file :f[ile] show or set the current file name :files :files list all files in the buffer list :filetype :filet[ype] switch file type detection on/off :filter :filt[er] filter output of following command :find :fin[d] find file in 'path' and edit it :finally :fina[lly] part of a :try command :finish :fini[sh] quit sourcing a Vim script :first :fir[st] go to the first file in the argument list :fold :fo[ld] create a fold :foldclose :foldc[lose] close folds :folddoopen :foldd[oopen] execute command on lines not in a closed fold :folddoclosed :folddoc[losed] execute command on lines in a closed fold :foldopen :foldo[pen] open folds :for :for for loop :function :fu[nction] define a user function :global :g[lobal] execute commands for matching lines :goto :go[to] go to byte in the buffer :grep :gr[ep] run 'grepprg' and jump to first match :grepadd :grepa[dd] like :grep, but append to current list :gui :gu[i] start the GUI :gvim :gv[im] start the GUI :help :h[elp] open a help window :helpclose :helpc[lose] close one help window :helpgrep :helpg[rep] like ":grep" but searches help files :helptags :helpt[ags] generate help tags for a directory :highlight :hi[ghlight] specify highlighting methods :hide :hid[e] hide current buffer for a command :history :his[tory] print a history list :horizontal :hor[izontal] following window command work horizontally :insert :i[nsert] insert text :iabbrev :ia[bbrev] like ":abbrev" but for Insert mode :iabclear :iabc[lear] like ":abclear" but for Insert mode :if :if execute commands when condition met :ijump :ij[ump] jump to definition of identifier :ilist :il[ist] list lines where identifier matches :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 :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 :intro :int[ro] print the introductory message :isearch :is[earch] list one line where identifier matches :isplit :isp[lit] split window and jump to definition of identifier :iunmap :iu[nmap] like ":unmap" but for Insert mode :iunabbrev :iuna[bbrev] like ":unabbrev" but for Insert mode :iunmenu :iunme[nu] remove menu for Insert mode :join :j[oin] join lines :jumps :ju[mps] print the jump list :k :k set a mark :keepalt :keepa[lt] following command keeps the alternate file :keepmarks :kee[pmarks] following command keeps marks where they are :keepjumps :keepj[umps] following command keeps jumplist and marks :keeppatterns :keepp[atterns] following command keeps search pattern history :lNext :lN[ext] go to previous entry in location list :lNfile :lNf[ile] go to last entry in previous file :list :l[ist] print lines :labove :lab[ove] go to location above current line :laddexpr :lad[dexpr] add locations from expr :laddbuffer :laddb[uffer] add locations from buffer :laddfile :laddf[ile] add locations to current location list :lafter :laf[ter] go to location after current cursor :last :la[st] go to the last file in the argument list :language :lan[guage] set the language (locale) :later :lat[er] go to newer change, redo :lbefore :lbef[ore] go to location before current cursor :lbelow :lbel[ow] go to location below current line :lbottom :lbo[ttom] scroll to the bottom of the location window :lbuffer :lb[uffer] parse locations and jump to first location :lcd :lc[d] change directory locally :lchdir :lch[dir] change directory locally :lclose :lcl[ose] close location window :ldo :ld[o] execute command in valid location list entries :lfdo :lfd[o] execute command in each file in location list :left :le[ft] left align lines :leftabove :lefta[bove] make split window appear left or above :let :let assign a value to a variable or option :lexpr :lex[pr] read locations from expr and jump to first :lfile :lf[ile] read file with locations and jump to first :lfirst :lfir[st] go to the specified location, default first one :lgetbuffer :lgetb[uffer] get locations from buffer :lgetexpr :lgete[xpr] get locations from expr :lgetfile :lg[etfile] read file with locations :lgrep :lgr[ep] run 'grepprg' and jump to first match :lgrepadd :lgrepa[dd] like :grep, but append to current list :lhelpgrep :lh[elpgrep] like ":helpgrep" but uses location list :lhistory :lhi[story] list the location lists :ll :ll go to specific location :llast :lla[st] go to the specified location, default last one :llist :lli[st] list all locations :lmake :lmak[e] execute external command 'makeprg' and parse error messages :lmap :lm[ap] like ":map!" but includes Lang-Arg mode :lmapclear :lmapc[lear] like ":mapclear!" but includes Lang-Arg mode :lnext :lne[xt] go to next location :lnewer :lnew[er] go to newer location list :lnfile :lnf[ile] go to first location in next file :lnoremap :ln[oremap] like ":noremap!" but includes Lang-Arg mode :loadkeymap :loadk[eymap] load the following keymaps until EOF :loadview :lo[adview] load view for current window from a file :lockmarks :loc[kmarks] following command keeps marks where they are :lockvar :lockv[ar] lock variables :lolder :lol[der] go to older location list :lopen :lope[n] open location window :lprevious :lp[revious] go to previous location :lpfile :lpf[ile] go to last location in previous file :lrewind :lr[ewind] go to the specified location, default first one :ls :ls list all buffers :ltag :lt[ag] jump to tag and add matching tags to the location list :lunmap :lu[nmap] like ":unmap!" but includes Lang-Arg mode :lua :lua execute Lua command :luado :luad[o] execute Lua command for each line :luafile :luaf[ile] execute Lua script file :lvimgrep :lv[imgrep] search for pattern in files :lvimgrepadd :lvimgrepa[dd] like :vimgrep, but append to current list :lwindow :lw[indow] open or close location window :move :m[ove] move lines :mark :ma[rk] set a mark :make :mak[e] execute external command 'makeprg' and parse error messages :map :map show or enter a mapping :mapclear :mapc[lear] clear all mappings for Normal and Visual mode :marks :marks list all marks :match :mat[ch] define a match to highlight :menu :me[nu] enter a new menu item :menutranslate :menut[ranslate] add a menu translation item :messages :mes[sages] view previously displayed messages :mkexrc :mk[exrc] write current mappings and settings to a file :mksession :mks[ession] write session info to a file :mkspell :mksp[ell] produce .spl spell file :mkvimrc :mkv[imrc] write current mappings and settings to a file :mkview :mkvie[w] write view of current window to a file :mode :mod[e] show or change the screen mode :next :n[ext] go to next file in the argument list :new :new create a new empty window :nmap :nm[ap] like ":map" but for Normal mode :nmapclear :nmapc[lear] clear all mappings for Normal mode :nmenu :nme[nu] add menu for Normal mode :nnoremap :nn[oremap] like ":noremap" but for Normal mode :nnoremenu :nnoreme[nu] like ":noremenu" but for Normal mode :noautocmd :noa[utocmd] following commands don't trigger autocommands :noremap :no[remap] enter a mapping that will not be remapped :nohlsearch :noh[lsearch] suspend 'hlsearch' highlighting :noreabbrev :norea[bbrev] enter an abbreviation that will not be remapped :noremenu :noreme[nu] enter a menu that will not be remapped :normal :norm[al] execute Normal mode commands :noswapfile :nos[wapfile] following commands don't create a swap file :number :nu[mber] print lines with line number :nunmap :nun[map] like ":unmap" but for Normal mode :nunmenu :nunme[nu] remove menu for Normal mode :oldfiles :ol[dfiles] list files that have marks in the shada file :omap :om[ap] like ":map" but for Operator-pending mode :omapclear :omapc[lear] remove all mappings for Operator-pending mode :omenu :ome[nu] add menu for Operator-pending mode :only :on[ly] close all windows except the current one :onoremap :ono[remap] like ":noremap" but for Operator-pending mode :onoremenu :onoreme[nu] like ":noremenu" but for Operator-pending mode :options :opt[ions] open the options-window :ounmap :ou[nmap] like ":unmap" but for Operator-pending mode :ounmenu :ounme[nu] remove menu for Operator-pending mode :ownsyntax :ow[nsyntax] set new local syntax highlight for this window :packadd :pa[ckadd] add a plugin from 'packpath' :packloadall :packl[oadall] load all packages under 'packpath' :pclose :pc[lose] close preview window :pedit :ped[it] edit file in the preview window :perl :pe[rl] execute perl command :perldo :perld[o] execute perl command for each line :perlfile :perlf[ile] execute perl script file :print :p[rint] print lines :profdel :profd[el] stop profiling a function or script :profile :prof[ile] profiling functions and scripts :pop :po[p] jump to older entry in tag stack :popup :popu[p] popup a menu by name :ppop :pp[op] ":pop" in preview window :preserve :pre[serve] write all text to swap file :previous :prev[ious] go to previous file in argument list :psearch :ps[earch] like ":ijump" but shows match in preview window :ptag :pt[ag] show tag in preview window :ptNext :ptN[ext] :tNext in preview window :ptfirst :ptf[irst] :trewind in preview window :ptjump :ptj[ump] :tjump and show tag in preview window :ptlast :ptl[ast] :tlast in preview window :ptnext :ptn[ext] :tnext in preview window :ptprevious :ptp[revious] :tprevious in preview window :ptrewind :ptr[ewind] :trewind in preview window :ptselect :pts[elect] :tselect and show tag in preview window :put :pu[t] insert contents of register in the text :pwd :pw[d] print current directory :py3 :py3 execute Python 3 command :python3 :python3 same as :py3 :py3do :py3d[o] execute Python 3 command for each line :py3file :py3f[ile] execute Python 3 script file :python :py[thon] execute Python command :pydo :pyd[o] execute Python command for each line :pyfile :pyf[ile] execute Python script file :pyx :pyx execute python_x command :pythonx :pythonx same as :pyx :pyxdo :pyxd[o] execute python_x command for each line :pyxfile :pyxf[ile] execute python_x script file :quit :q[uit] quit current window (when one window quit Vim) :quitall :quita[ll] quit Vim :qall :qa[ll] quit Vim :read :r[ead] read file into the text :recover :rec[over] recover a file from a swap file :redo :red[o] redo one undone change :redir :redi[r] redirect messages to a file or register :redraw :redr[aw] force a redraw of the display :redrawstatus :redraws[tatus] force a redraw of the status line(s) and window bar(s) :redrawtabline :redrawt[abline] force a redraw of the tabline :registers :reg[isters] display the contents of registers :resize :res[ize] change current window height :retab :ret[ab] change tab size :return :retu[rn] return from a user function :rewind :rew[ind] go to the first file in the argument list :right :ri[ght] right align text :rightbelow :rightb[elow] make split window appear right or below :rshada :rsh[ada] read from shada file :ruby :rub[y] execute Ruby command :rubydo :rubyd[o] execute Ruby command for each line :rubyfile :rubyf[ile] execute Ruby script file :rundo :rund[o] read undo information from a file :runtime :ru[ntime] source vim scripts in 'runtimepath' :substitute :s[ubstitute] find and replace text :sNext :sN[ext] split window and go to previous file in argument list :sandbox :san[dbox] execute a command in the sandbox :sargument :sa[rgument] split window and go to specific file in argument list :sall :sal[l] open a window for each file in argument list :saveas :sav[eas] save file under another name. :sbuffer :sb[uffer] split window and go to specific file in the buffer list :sbNext :sbN[ext] split window and go to previous file in the buffer list :sball :sba[ll] open a window for each file in the buffer list :sbfirst :sbf[irst] split window and go to first file in the buffer list :sblast :sbl[ast] split window and go to last file in buffer list :sbmodified :sbm[odified] split window and go to modified file in the buffer list :sbnext :sbn[ext] split window and go to next file in the buffer list :sbprevious :sbp[revious] split window and go to previous file in the buffer list :sbrewind :sbr[ewind] split window and go to first file in the buffer list :scriptnames :scr[iptnames] list names of all sourced Vim scripts :scriptencoding :scripte[ncoding] encoding used in sourced Vim script :set :se[t] show or set options :setfiletype :setf[iletype] set 'filetype', unless it was set already :setglobal :setg[lobal] show global values of options :setlocal :setl[ocal] show or set options locally :sfind :sf[ind] split current window and edit file in 'path' :sfirst :sfir[st] split window and go to first file in the argument list :sign :sig[n] manipulate signs :silent :sil[ent] run a command silently :sleep :sl[eep] do nothing for a few seconds :slast :sla[st] split window and go to last file in the argument list :smagic :sm[agic] :substitute with 'magic' :smap :smap like ":map" but for Select mode :smapclear :smapc[lear] remove all mappings for Select mode :smenu :sme[nu] add menu for Select mode :snext :sn[ext] split window and go to next file in the argument list :snomagic :sno[magic] :substitute with 'nomagic' :snoremap :snor[emap] like ":noremap" but for Select mode :snoremenu :snoreme[nu] like ":noremenu" but for Select mode :sort :sor[t] sort lines :source :so[urce] read Vim or Ex commands from a file :spelldump :spelld[ump] split window and fill with all correct words :spellgood :spe[llgood] add good word for spelling :spellinfo :spelli[nfo] show info about loaded spell files :spellrare :spellra[re] add rare word for spelling :spellrepall :spellr[epall] replace all bad words like last z= :spellundo :spellu[ndo] remove good or bad word :spellwrong :spellw[rong] add spelling mistake :split :sp[lit] split current window :sprevious :spr[evious] split window and go to previous file in the argument list :srewind :sre[wind] split window and go to first file in the argument list :stop :st[op] suspend the editor or escape to a shell :stag :sta[g] split window and jump to a tag :startinsert :star[tinsert] start Insert mode :startgreplace :startg[replace] start Virtual Replace mode :startreplace :startr[eplace] start Replace mode :stopinsert :stopi[nsert] stop Insert mode :stjump :stj[ump] do ":tjump" and split window :stselect :sts[elect] do ":tselect" and split window :sunhide :sun[hide] same as ":unhide" :sunmap :sunm[ap] like ":unmap" but for Select mode :sunmenu :sunme[nu] remove menu for Select mode :suspend :sus[pend] same as ":stop" :sview :sv[iew] split window and edit file read-only :swapname :sw[apname] show the name of the current swap file :syntax :sy[ntax] syntax highlighting :syntime :synti[me] measure syntax highlighting speed :syncbind :sync[bind] sync scroll binding :t :t same as ":copy" :tNext :tN[ext] jump to previous matching tag :tabNext :tabN[ext] go to previous tab page :tabclose :tabc[lose] close current tab page :tabdo :tabdo execute command in each tab page :tabedit :tabe[dit] edit a file in a new tab page :tabfind :tabf[ind] find file in 'path', edit it in a new tab page :tabfirst :tabfir[st] go to first tab page :tablast :tabl[ast] go to last tab page :tabmove :tabm[ove] move tab page to other position :tabnew :tabnew edit a file in a new tab page :tabnext :tabn[ext] go to next tab page :tabonly :tabo[nly] close all tab pages except the current one :tabprevious :tabp[revious] go to previous tab page :tabrewind :tabr[ewind] go to first tab page :tabs :tabs list the tab pages and what they contain :tab :tab create new tab when opening new window :tag :ta[g] jump to tag :tags :tags show the contents of the tag stack :tcd :tc[d] change directory for tab page :tchdir :tch[dir] change directory for tab page :terminal :te[rminal] open a terminal buffer :tfirst :tf[irst] jump to first matching tag :throw :th[row] throw an exception :tjump :tj[ump] like ":tselect", but jump directly when there is only one match :tlast :tl[ast] jump to last matching tag :tlmenu :tlm[enu] add menu for Terminal-mode :tlnoremenu :tln[oremenu] like ":noremenu" but for Terminal-mode :tlunmenu :tlu[nmenu] remove menu for Terminal-mode :tmapclear :tmapc[lear] remove all mappings for Terminal-mode :tmap :tma[p] like ":map" but for Terminal-mode :tmenu :tm[enu] define menu tooltip :tnext :tn[ext] jump to next matching tag :tnoremap :tno[remap] like ":noremap" but for Terminal-mode :topleft :to[pleft] make split window appear at top or far left :tprevious :tp[revious] jump to previous matching tag :trewind :tr[ewind] jump to first matching tag :trust :trust add or remove file from trust database :try :try execute commands, abort on error or exception :tselect :ts[elect] list matching tags and select one :tunmap :tunma[p] like ":unmap" but for Terminal-mode :tunmenu :tu[nmenu] remove menu tooltip :undo :u[ndo] undo last change(s) :undojoin :undoj[oin] join next change with previous undo block :undolist :undol[ist] list leafs of the undo tree :unabbreviate :una[bbreviate] remove abbreviation :unhide :unh[ide] open a window for each loaded file in the buffer list :unlet :unl[et] delete variable :unlockvar :unlo[ckvar] unlock variables :unmap :unm[ap] remove mapping :unmenu :unme[nu] remove menu :unsilent :uns[ilent] run a command not silently :update :up[date] write buffer if modified :vglobal :v[global] execute commands for not matching lines :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 :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 :viusage :viu[sage] overview of Normal mode commands :view :vie[w] edit a file read-only :vmap :vm[ap] like ":map" but for Visual+Select mode :vmapclear :vmapc[lear] remove all mappings for Visual+Select mode :vmenu :vme[nu] add menu for Visual+Select mode :vnew :vne[w] create a new empty window, vertically split :vnoremap :vn[oremap] like ":noremap" but for Visual+Select mode :vnoremenu :vnoreme[nu] like ":noremenu" but for Visual+Select mode :vsplit :vs[plit] split current window vertically :vunmap :vu[nmap] like ":unmap" but for Visual+Select mode :vunmenu :vunme[nu] remove menu for Visual+Select mode :windo :windo execute command in each window :write :w[rite] write to a file :wNext :wN[ext] write to a file and go to previous file in argument list :wall :wa[ll] write all (changed) buffers :while :wh[ile] execute loop for as long as condition met :winsize :wi[nsize] get or set window size (obsolete) :wincmd :winc[md] execute a Window (CTRL-W) command :winpos :winp[os] get or set window position :wnext :wn[ext] write to a file and go to next file in argument list :wprevious :wp[revious] write to a file and go to previous file in argument list :wq :wq write to a file and quit window or Vim :wqall :wqa[ll] write all changed buffers and quit Vim :wshada :wsh[ada] write to ShaDa file :wundo :wu[ndo] write undo information to a file :xit :x[it] write if buffer changed and close window :xall :xa[ll] same as ":wqall" :xmapclear :xmapc[lear] remove all mappings for Visual mode :xmap :xm[ap] like ":map" but for Visual mode :xmenu :xme[nu] add menu for Visual mode :xnoremap :xn[oremap] like ":noremap" but for Visual mode :xnoremenu :xnoreme[nu] like ":noremenu" but for Visual mode :xunmap :xu[nmap] like ":unmap" but for Visual mode :xunmenu :xunme[nu] remove menu for Visual mode :yank :y[ank] yank lines into a register :z :z print some lines :~ :~ repeat last ":substitute"
メイン
コマンド索引
クイックリファレンス