                     VIM help file $BL\<!(B

RETURN  HELP$B=*N;(B                VIM stands for Vi IMproved.
 SPACE  $B<!%Z!<%8I=<((B            Most of VIM was made by Bram Moolenaar.
     a  $B$3$NL\<!$KLa$k(B          $BF|K\8lHG(BHELP by Ogasawara Hiroyuki.
     b  $BA0$N%Z!<%8$KLa$k(B

c   $B%+!<%=%k0\F0(B                     q   $B%*%W%7%g%s(B i$B!A(Bn
d   $B%o!<%I(B/$B%V%m%C%/C10L0\F0(B          r   $B%*%W%7%g%s(B p$B!A(Bs
e   $B8!:w(B                             s   $B%*%W%7%g%s(B s$B!A(Bt
f   $B$=$NB>$N0\F0(B/$B%?%0%8%c%s%W(B        t   $B%*%W%7%g%s(B t$B!A(By
g   $B%9%/%m!<%k(B                       u   undo, shell, quickfix $B$=$NB>(B
h   $BA^F~%b!<%I(B                       v   $B%3%^%s%I%i%$%sJT=8%3%^%s%I(B
i   $BA^F~%b!<%I$G$NA`:n(B               w   Ex$B%b!<%I$NHO0O;XDj$HFC<l5!G=(B
j   $BJQ99%3%^%s%I(B/$B%7%U%H(B              x   file$B%(%G%#%C%H(B
k   $B$=$NB>$NJQ99%3%^%s%I(B             y   $B%U%!%$%k%j%9%H(B
l   $B%F%-%9%H:o=|(B/$B%3%T!<(B/$B0\F0(B         z   $B%U%!%$%k=q$-=P$7$H=*N;(B
m   $B7+$jJV$7(B                         A   VIM$B5/F0%*%W%7%g%s(B
n   $B%-!<%^%C%T%s%0(B/$BN,8lEPO?(B          B   $B%&%#%s%I%&A`:n%3%^%s%I(B
o   $B%*%W%7%g%s%3%^%s%I(B a$B!A(Bc          C   $B%P%C%U%!%j%9%H%3%^%s%I(B
p   $B%*%W%7%g%s(B d$B!A(Bh

Read "reference.doc" for a more complete explanation.
 $B%+!<%=%k:81&0\F0(B 
N  h            $B:8(B ( CTRL-H, BS, [$B"+(B] $B$bF1$8(B )
N  l            $B1&(B ( SPACE, [$B"*(B] $B$bF1$8(B )
   0            $B9T$N@hF,$X0\F0(B
   ^            $B9T$N@hF,J8;z$X0\F0(B($B6uGr$r=|$/(B)
N  $            $B9TKv$K0\F0(B
N  |            N$BJ8;zL\$K0\F0$9$k(B
N  f<char>      $B$=$N9T$N(B<char>$BJ8;z$N0LCV$K0\F0$9$k(B($B1&J}8~8!:w(B)
N  F<char>      $B$=$N9T$N(B<char>$BJ8;z$N0LCV$K0\F0$9$k(B($B:8J}8~8!:w(B)
N  t<char>      $B$=$N9T$N(B<char>$BJ8;z$N0LCV$N:8$K0\F0$9$k(B($B1&J}8~8!:w(B)
N  T<char>      $B$=$N9T$N(B<char>$BJ8;z$N0LCV$N1&$K0\F0$9$k(B($B:8J}8~8!:w(B)
N  ;            f,F,t,T $B%3%^%s%I$N<!8!:w(B
N  ,            f,F,t,T $B%3%^%s%I$N5U8!:w(B

 $B%+!<%=%k>e2<0\F0(B 
N  k            $B>e(B ( CTRL-P, [$B",(B] $B$bF1$8(B )
N  j            $B2<(B ( CTRL-J, CTRL-N, LF, [$B"-(B] $B$bF1$8(B )
N  -            $B>e$N9T$N6uGr$G$J$$@hF,0LCV$K0\F0(B
N  +            $B2<$N9T$N6uGr$G$J$$@hF,0LCV$K0\F0(B (CTRL-M, CR $B$G$bF1$8(B )
N  _            N - 1 $B9T2<$N6uGr$G$J$$0LCV$K0\F0(B
N  G            N $B9TL\$KHt$V(B ($B%G%U%)%k%H$G:G=*9T$XHt$V(B)
N  %            $B%U%!%$%k9T?t$N(B N $B%Q!<%;%s%HL\$N0LCV$KHt$V(B
 $B%o!<%I0\F0(B 
N  w            $B<!$N%o!<%I0LCV$K?J$`(B
N  W            $B%9%Z!<%9$G6h@Z$C$?<!$N%o!<%I0LCV$K?J$`(B
N  e            $B<!$N%o!<%I$N:G8e$N0LCV$K?J$`(B
N  E            $B%9%Z!<%9$G6h@Z$C$?<!$N%o!<%I$N:G8e$N0LCV$K?J$`(B
N  b            $BA0$N%o!<%I0LCV$K?J$`(B
N  B            $B%9%Z!<%9$G6h@Z$C$?A0$N%o!<%I0LCV$K?J$`(B

Text object motions
N  )            N sentences forward
N  (            N sentences backward
N  }            N paragraphs forward
N  {            N paragraphs backward
N  ]]           N sections forward
N  [[           N sections backward
N  ][           N sections (starting with a <}>) forward
N  []           N sections (starting with a <}>) backward
N  [(  [{       N times back to unclosed <(> or <{>
N  ])  ]}       N times forward to unclosed <(> or <{>
 $B8!:w(B 
N  /{pattern}[/]        $B%Q%?!<%s8!:w(B
N  ?{pattern}[?]        $B5U8!:w(B
N  /                    $BA0J}8~$K:F8!:w(B
N  ?                    $B5UJ}8~$K:F8!:w(B
N  n                    $B<!8!:w(B($B:G8e$N8!:w$r7+$jJV$7(B)
N  N                    $B<!8!:w(B($B:G8e$N8!:w$N5UJ}8~7+$jJV$7(B)
N  *                    $B%+!<%=%k0LCV$NC18l8!:w(B
N  #                    $B%+!<%=%k0LCV$NC18l5U8!:w(B

special characters in search patterns      magic      nomagic
           matches any single character      .            \.
                  matches start of line      ^            ^
                    matches end of line      $            $
                  matches start of word      \<           \<
                    matches end of word      \>           \>
   matches a single char from the range      [a-z]        \[a-z]
 matches a single char not in the range      [^a-z]       \[^a-z]
matches 0 or more of the preceding atom      *            \*
matches 1 or more of the preceding atom      \+           \+
   matches 0 or 1 of the preceding atom      \=           \=
                 separates two branches      \|           \|
           group a pattern into an atom      \(\)         \(\)
 $B$=$NB>$N0\F0%3%^%s%I(B 
   m<a-zA-Z>    $B%+!<%=%k0LCV$K(B <a-zA-Z> $B$N%^!<%/$r$D$1$k(B
   `<a-zA-Z>    <a-zA-Z> $B$N%^!<%/0LCV$K0\F0$9$k(B
   ``           $B:G8e$KHt$s$@%^!<%/0LCV$K0\F0$9$k(B
   `[ or `]     go to the start or end of the previously operated or put text
   '<a-zA-Z[]'> $B%^!<%/0LCV$N6uGr$G$J$$9TF,$XHt$V(B
:marks          $B%^!<%/0LCV$NI=<((B
N  CTRL-O       $B2a5n$K0\F0$7$?%8%c%s%W0LCV$rAL$k(B
N  CTRL-I       $B2a5n$K0\F0$7$?%8%c%s%W0LCV$r?J$`(B
:jumps          $B%8%c%s%W0LCV$N%j%9%H$rI=<($9$k(B
   %            $B3g8L$NBP1~0LCV$KHt$V(B, $B%3%a%s%H$d(B #if/#else/#endif $B$NBP1~8!:w(B
                $B$b2DG=(B
N  H            $B8=:_$N2hLL$G:G>e0L0LCV$XHt$V(B
   M            $B8=:_$N2hLL$G??Cf$N0LCV$XHt$V(B
N  L            $B8=:_$N2hLL$G:G2<9T0LCV$XHt$V(B

 $B%?%0%8%c%s%W(B 
:ta[g][!] {tag}         $B%?%0L>$r;XDj$7$F$=$N0LCV$XHt$V(B
   CTRL-]               $B%+!<%=%k0LCV$NC18l$r%?%0$H$7$F%8%c%s%W(B
N  CTRL-T               $B2a5n$K%?%0%8%c%s%W$7$?%j%9%H$rAL$k(B(Pop)
:[count]po[p][!]        [count] $BHVL\$N%?%0%j%9%H0LCV$KHt$V(B
:[count]ta[g][!]        [count] $BHVL\$N%?%0%j%9%H0LCV$KHt$V(B
:tags                   $B%?%0%j%9%H$rI=<((B
 $B%9%/%m!<%k(B 
N  CTRL-E       $BI=<($r9T%9%/%m!<%k%"%C%W(B
N  CTRL-D       $B2hLL$NH>J,9T?J$`(B (N$B9T(B)
N  CTRL-F       $B<!%Z!<%8(B (N$B%Z!<%8(B)
N  CTRL-Y       $BI=<($r9T%9%/%m!<%k%@%&%s(B
N  CTRL-U       $B2hLL$NH>J,9TLa$k(B (N$B9T(B)
N  CTRL-B       $BA0%Z!<%8(B (N$B%Z!<%8(B)
   z<CR> or zt  $B%+!<%=%k9T$,(B1$BHV>e$K$J$k$h$&=q$-D>$7(B
   z.    or zz  $B%+!<%=%k9T$,Cf?4$K$J$k$h$&=q$-D>$7(B
   z-    or zb  $B%+!<%=%k9T$,(B1$BHV2<$K$J$k$h$&=q$-D>$7(B
 $BA^F~(B 
N  a            $B%+!<%=%k0LCV$N<!$NJ8;z0LCV$XA^F~(B($BA^F~%b!<%I$X(B)
N  A            $B9T$N:G8e$KDI2C(B($BA^F~%b!<%I$X(B)
N  i            $B%+!<%=%k0LCV$KA^F~(B($BA^F~%b!<%I$X(B)
N  I            $B9T$N6uGr$G$J$$:G=i$N0LCV$KA^F~(B($BA^F~%b!<%I$X(B)
N  o            $B<!$N9T$KA^F~(B($BA^F~%b!<%I$X(B)
N  O            $BA0$N9T$KA^F~(B($BA^F~%b!<%I$X(B)

 $B$=$NB>$NA^F~(B 
:r [file]       $B%U%!%$%kFbMF$r%+!<%=%k0LCV$K<h$j9~$`(B
:r!{command}    $B%3%^%s%I$r<B9T$7$?7k2L(B(stdout)$B$r<h$j9~$`(B

Digraphs
:dig[raphs]     show current list of digraphs
:dig[raphs] {char1}{char2} {number} ...
                add digraph(s) to the list
 $BA^F~%b!<%I$G$NA`:n(B               action in insert mode
CTRL-[ or <ESC>   $BA^F~%b!<%I$r=*N;$9$k(B
CTRL-A            $B:G8e$KA^F~$7$?%F%-%9%H$r<h$j9~$`(B
CTRL-@            CTRL+A$B$G<h$j9~$^$l$k%F%-%9%H$r%/%j%"$9$k(B
CTRL-R <0-9a-z%:> $B;XDj$7$?%+%C%H%P%C%U%!$NFbMF$r<h$j9~$`(B
CTRL-J or <LF> or CTRL-M or <CR>   $B2~9T(B
CTRL-K {char1} {char2}  enter digraph
CTRL-E / CTRL-Y   $B<!$N9T(B/$BA0$N9T$r%3%T!<$9$k(B
CTRL-V            $B%3%s%H%m!<%k%-!<$NA^F~$r;XDj$9$k(B
CTRL-N / CTRL-P   $B%F%-%9%HFb$+$iC18l8!:w$r$9$k(B
CTRL-H or <BS> or <DEL> $BA0$N(B1$BJ8;z$r>C$9(B
CTRL-W            $BA0$N%o!<%I$r>C$9(B
CTRL-U            $BA^F~$7$?9T$r>C$9(B
CTRL-T            $BA^F~9T$N%$%s%G%s%HJQ99(B($B1&%7%U%H(B)
CTRL-D            $BA^F~9T$N%$%s%G%s%HJQ99(B($B:8%7%U%H(B)
0 CTRL-D or ^ CTRL-D    $BA^F~9T$N%$%s%G%s%HA4:o=|(B
{char1} <BS> {char2}    enter digraph if 'dg' option set
CTRL-B            $B5UA^F~%b!<%I$N%H%0%k%A%'%s%8(B
         $BA^F~%b!<%I$G$N%@%$%l%/%H%+!<%=%k0\F0(B 
$B%+!<%=%k%-!<(B      $BA^F~0LCV$rJQ99(B
SHIFT[$B",(B]/[$B"-(B]    1$B2hLLLa$k(B/$B?J$`(B(X68K$BHGL$BP1~(B)
SHIFT[$B"+(B]/[$B"*(B]    $B%o!<%I:81&0\F0(B(X68K$BHGL$BP1~(B)
CTRL-O {command}  $BA^F~%b!<%I$+$i0\F0%3%^%s%I$r<B9T$9$k(B(CTRL-Oj$B$J$I(B)
 $BJQ99%3%^%s%I(B 
N  R            $B=E$M=q$-(B($BJQ99%b!<%I$X(B)
N  c{motion}    $B;XDjHO0OJQ99(B($BA^F~%b!<%I$X(B)
{visual}c       $B;XDjHO0O$rCV$-49$($k(B($BA^F~%b!<%I$X(B)
N  cc           $B9TJQ99(B($BA^F~%b!<%I$X(B)
N  C            $B9TKv$^$GJQ99(B($BA^F~%b!<%I$X(B)
N  s            $BJ8;zJQ99(B($BA^F~%b!<%I$X(B)
N  S            $B9TJQ99(B($BA^F~%b!<%I$X(B)
N  r<char>      $B<!$N(B1$BJ8;z$XCV49(B
N  ~            $B%+!<%=%k0LCV$N%"%k%U%!%Y%C%H$NBgJ8;z>.J8;zJQ49(B
{visual}~       $B;XDjHO0O$NBgJ8;z>.J8;zJQ49(B
{visual}u       $B;XDjHO0O$N>.J8;zJQ49(B
{visual}U       $B;XDjHO0O$NBgJ8;zJQ49(B
N  CTRL-A       $B%+!<%=%k0LCV$N?tCM%o!<%I$K(B N $B$r2C$($k(B(C$B8@8lDj?tCM(B)
N  CTRL-X       $B%+!<%=%k0LCV$N?tCM%o!<%I$+$i(B N $B$r0z$/(B
N  <{motion}    $B:8%7%U%H(B($B%7%U%HJ8;zI}$O(Bshiftwidth$B$G;XDj$9$k(B)
N  <<           N $B9T:8%7%U%H(B
N  >{motion}    $B1&%7%U%H(B
N  >>           N $B9T1&%7%U%H(B
N  Q{motion}    textwidth $B%*%W%7%g%s$K=>$C$F$r%U%)!<%^%C%H$9$k(B
:[range]ce[nter] [width]   $B%;%s%?%j%s%0(B
:[range]le[ft] [indent]    $B:8$h$;(B
:[range]ri[ght] [width]    $B1&$h$;(B
 $B$=$NB>$NJQ99(B 
   v            $BJ8;zHO0O;XDj3+;O(B               } $B%+!<%=%k0\F0$K$h$C$F(B
   V            $B9THO0O;XDj3+;O(B                 } $BH?E>$7$F<($9HO0O$rJQ(B
   CTRL-V       $B%V%m%C%/HO0O;XDj3+;O(B           } $B99(B
   o            $BH?E>;XDjNN0h$G$N%+!<%=%k0LCV$r@hF,$H:G8e$G8r49$9$k(B

N  !{motion}{command}
                $B;XDjHO0O$r%U%#%k%?%W%m%0%i%`$K$+$1$k(B
N  !!{command}
                N $B9T$r%U%#%k%?%W%m%0%i%`$K$+$1$k(B
:[range]!{command}
                $B;XDjHO0O$r%U%#%k%?%W%m%0%i%`$K$+$1$k(B
N  ={motion}{command}
                $B%U%#%k%?(B indent $B$K$+$1$k(B ($B%W%m%0%i%`$O(B 'equalprg' $B$G;XDj(B)
N  =={command}
                N $B9T$r%U%#%k%?(B indent $B$K$+$1$k(B
:[range]s[ubstitute]/{pattern}/{string}/[g][c]
                [range] $B$NHO0O$G(B {pattern} $B$r(B {string} $B$KCV49$9$k(B
                [g]$B$O8=$l$?A4It$N%Q%?!<%s$rCV49(B,[c]$B$O3NG'CV49(B
:[range]s[ubstitute] [g][c]
                $BA0$K<B9T$7$?(B :s $B%3%^%s%I$r$b$&0lEY<B9T$9$k(B
   &            $BA0$K<B9T$7$?(B :s $B%3%^%s%I$r8=:_9T$KBP$7$F<B9T$9$k(B

 $B:o=|%3%^%s%I(B 
N  x            $B%+!<%=%k0LCV$NJ8;z:o=|(B (N$BJ8;z(B)
N  X            $B%+!<%=%k0LCV$NA0$NJ8;z:o=|(B (N$BJ8;z(B)
N  d{motion}    $B;XDjHO0O:o=|(B
{visual}d       $B;XDjHO0O:o=|(B
N  dd           $B9T:o=|(B (N$B9T(B)
N  D            $B%+!<%=%k0LCV$+$i9TKv$^$G:o=|(B
N  J            $B<!$N9T$HO"7k$9$k(B
{visual}J       $B;XDjHO0O$r9TO"7k$9$k(B
:[range]d [x]   $B;XDjHO0O(B [range] lines $B:o=|$7%+%C%H%P%C%U%!(B[x]$B$K<h$j9~$`(B

 $B%F%-%9%H%3%T!<(B/$B0\F0%3%^%s%I(B 
   "<char>      $B<!$NA`:n$G<h$j9~$`%+%C%H%P%C%U%!$r;XDj$9$k(B
:dis            $B8=:_$N3F%+%C%H%P%C%U%!$NFbMF$rI=<($9$k(B
N  y{motion}    $B%F%-%9%HFbMF$r<h$j9~$`(B ($B%+%C%H%P%C%U%!$X%3%T!<(B)
{visual}y       $B;XDjHO0O$r<h$j9~$`(B
N  yy           $B9T<h$j9~$_(B (N$B9T(B)
N  Y            $B9T<h$j9~$_(B (N$B9T(B)
N  p            $B%+%C%H%P%C%U%!$NFbMF$r%+!<%=%k0LCV$N<!$KA^F~$9$k(B
N  P            $B%+%C%H%P%C%U%!$NFbMF$r%+!<%=%k0LCV$NA0$KA^F~$9$k(B
N  ]p           $B%$%s%G%s%HD4@0$D$-$N(B p
N  [p           $B%$%s%G%s%HD4@0$D$-$N(B P
 $B7+$jJV$7(B 
N  .            $B:G8e$NJQ99%3%^%s%I$r7+$jJV$9(B
   q<a-z>       $B%-!<%\!<%I%^%/%m$N5-O?3+;O(B (<a-z>$B$O%^%/%mL>(B)
   q            $B%-!<%\!<%I%^%/%m$N5-O?Dd;_(B
N  @<a-z>       $B%-!<%\!<%I%^%/%m<B9T(B
N  @@           $B%-!<%\!<%I%^%/%m$N<B9T7+$jJV$7(B
:@<a-z>         $B%-!<%\!<%I%^%/%m<B9T(B
:@@             $B%-!<%\!<%I%^%/%m7+$jJV$7(B
:[range]g[lobal]/{pattern}/[cmd]
                $B%Q%?!<%s%^%C%A$7$?9T$KBP$7$F;XDj$N(B Ex $B%3%^%s%I$r<B9T$9$k(B
                Ex$B%3%^%s%I$N%G%U%)%k%H$O(B p
:[range]g[lobal]!/{pattern}/[cmd]
                $B%Q%?!<%s%^%C%A$7$J$+$C$?9T$KBP$7$F;XDj$N(B Ex $B%3%^%s%I$r<B(B
                $B9T$9$k!#(BEx$B%3%^%s%I$N%G%U%)%k%H$O(B p
:so[urce] {file}
                Ex $B%3%^%s%I$r%U%!%$%k$+$iFI$_9~$s$G<B9T$9$k(B
:so[urce]! {file}
                VIM $B%3%^%s%I$r%U%!%$%k$+$iFI$_9~$s$G<B9T$9$k(B
:sl[eep] [N]    N $BIC(B sleep $B$9$k(B
N  gs           N $BIC(B sleep $B$9$k(B
 $B%-!<%^%C%T%s%0(B 
:ma[p] {lhs} {rhs}      $B%N!<%^%k%b!<%I$G(B {lhs} $B$K(B {rhs} $B$rDj5A(B
:ma[p]! {lhs} {rhs}     $BA^F~(B/$B%3%^%s%I%b!<%I$G(B {lhs} $B$K(B {rhs} $B$rDj5A(B
:no[remap][!] {lhs} {rhs}
                        :map $B$HF1$8(B
:unm[ap] {lhs}          $B%N!<%^%k%b!<%I$G$N(B {lhs} $B$NDj5AFbMF$r:o=|$9$k(B
:unm[ap]! {lhs}         $BA^F~(B/$B%3%^%s%I%b!<%I$G$N(B {lhs} $B$NDj5AFbMF$r:o=|$9$k(B
:ma[p] [lhs]            $B%N!<%^%k%b!<%I$G$NDj5AFbMF$NI=<((B
:ma[p]! [lhs]           $BA^F~(B/$B%3%^%s%I%b!<%I$G$NDj5AFbMF$NI=<((B
:cmap/:cunmap/:cnoremap $B%3%^%s%I%b!<%I$G$N$_M-8z$J(B map/unmap/noremap $B%3%^%s%I(B
:imap/:iunmap/:inoremap $BA^F~%b!<%I$G$N$_M-8z$J(B map/unmap/noremap $B%3%^%s%I(B
:mk[exrc][!] [file]     $B8=:_$N@_DjFbMF$r%U%!%$%k$K=q$-=P$9(B($B%G%U%)%k%H(B .exrc)
                        $B$9$G$K(B .exrc $B$,$"$k>l9g$O(B ! $B$,I,MW(B
:mkv[imrc][!] [file]    $B%G%U%)%k%H%U%!%$%kL>$,(B .vimrc $B$J$@$1$G(B :mkexrc $B$HF1$8(B

 $BN,8lEPO?(B 
:ab[breviate] {lhs} {rhs}    $BN,8l$rEPO?$9$k(B ({lhs} $B$,(B {rhs} $B$HF1$8$K$J$k(B)
:ab[breviate] {lhs}          {lhs} $B$,$I$&E83+$5$l$k$+I=<($9$k(B
:ab[breviate]                $BEPO?$5$l$F$$$kN,8l$rA4ItI=<($9$k(B
:una[bbreviate] {lhs}        $B;XDjC18l$NN,8lEPO?$r:o=|$9$k(B
:iab/:cab/:iunab/:cunab/:noreab/:cnoreab/:inoreab    $B$3$l$i$bF1$8(B
 $B%*%W%7%g%s(B 
:se[t]                  $BJQ99$7$?%*%W%7%g%s$rI=<($9$k(B
:se[t] all              $BA4It$N%*%W%7%g%s$rI=<($9$k(B
:se[t] {option}         $B%*%W%7%g%s$r(B ON $B$K$9$k(B(or STR/NUM$B%*%W%7%g%sFbMF$NI=<((B)
:se[t] no{option}       $B%*%W%7%g%s$r(B OFF $B$K$9$k(B
:se[t] inv{option}      $B%*%W%7%g%s$N>uBV$rH?E>$9$k(B($B%H%0%k(B)
:se[t] {option}={value} $BJ8;zNs$^$?$O?tCM%*%W%7%g%s$KCM$r@_Dj$9$k(B
:se[t] {option}?        $B%*%W%7%g%s$NFbMF$rI=<((B

 $B%*%W%7%g%s(B($BN,5-(B)    type  default        effect
autoindent (ai)     toggle    off   $BA^F~%b!<%I$GA09T$N%$%s%G%s%H$r%3%T!<$9$k(B
autowrite (aw)      toggle    off   $B?7JT=8;~$K8=:_$NJQ99$r%U%!%$%k$r=q$-=P$9(B
backspace (bs)      number    0     0:$BDL>o$N(BVi, 1:$B2~9T$b>C$;$k(B, 2:$BA4It>C$;$k(B
backup (bk)         toggle    on    $B%P%C%/%"%C%W%U%!%$%k$r:n$k(B
backupdir (bdir)    string    "~/"  $B%P%C%/%"%C%W%G%#%l%/%H%j$N;XDj(B
binary (bin)        toggle    off   $B%P%$%J%j!<%b!<%I(B
bioskey (bk)        toggle    on    MSDOS: use bios to get characters
cmdheight (ch)      number     1    $B%3%^%s%I9T$N9T?t(B
columns (co)        number    80    $B2hLL$N7e?t(B
compatible (cp)     toggle    off   vi $B40A4%3%s%Q%A%b!<%I;XDj(B
 $B%*%W%7%g%s(B($BN,5-(B)    type  default        effect
digraph (dg)        toggle    off   enable <BS> digraphs in insert mode
directory (dir)     string    ""    $B%9%o%C%W%U%!%$%k$rCV$/%G%#%l%/%H%j;XDj(B
edcompatible        toggle    off   flags for :substitute toggle
endofline (eol)     toggle    on    last line has a newline character
equalalways (ea)    toggle    on    $B%&%#%s%I%&3+JD;~(B,$B>o$KA4ItF1$8%5%$%:$K$9$k(B
equalprg (ep)       string    "indent"  '=' $B%3%^%s%I$G;H$&%W%m%0%i%`L>(B
errorbells (eb)     toggle    off   ring the bell for error messages
errorfile (ef)      string    "AztecC.Err" file for QuickFix option
errorformat (efm)   string          $B%3%s%Q%$%i%(%i!<%a%C%;!<%8$N%U%)!<%^%C%H(B
esckeys (ek)        toggle    on    <ESC>$B%-!<$NC1FHH=DjBT$A$r$9$k(B
expandtab (et)      toggle    off   insert mode: use spaces to enter a tab
exrc                toggle    off   $B%+%l%s%H$N(B .exrc/.vimrc $B$rFI$_9~$`(B
formatprg (fp)      string    ""    'Q'$B$G30It8F$S=P$7$9$k>l9g$N%W%m%0%i%`L>(B
gdefault (gd)       toggle    off   the 'g' flag is default on for :substitute
graphic (gr)        toggle    off   $BF|K\8lHG$G$O0UL#$r;}$?$J$$(B
helpfile (hf)       string    "vim:vim.hlp"     $B%X%k%W%U%!%$%kL>(B
hidden (hid)        toggle    off   buffers become hidden when abandoned
highlight (hl)      string    "db,es,hs,rs,vi,si"   when to use higlighting
history (hi)        number    20    $B%3%^%s%I9T%R%9%H%j$NJ]B8%G!<B??t(B
 $B%*%W%7%g%s(B($BN,5-(B)    type  default        effect
icon                toggle    off   set icon title to file name
ignorecase (ic)     toggle    off   ignore case in search patterns
insertmode (im)     toggle    off   $B5/F0D>8eB((B insert mode $B$K$9$k(B
joinspaces (js)     toggle    on    $B9TO"7k;~(B '.' $B$N8e$m$O%9%Z!<%9$r(B2$B$DF~$l$k(B
keywordprg (kp)     string    "ref" 'K'command $B$G5/F0$9$k%W%m%0%i%`L>(B
laststatus (ls)     number    1     STATUS$B9T@_Dj(B 0:single$B>uBV(Bor$B:G2<(BWIN$B$K$OIU$+(B
                                    $B$J$$(B,1:WIN$BJ,3d;~$OA4It$KIU$/(B,2:$B>o$KIU$/(B
lines               number    25    $B2hLL$N9T?t(B
list                toggle    off   TAB,$B2~9T$rI=<(J8;z$H$7$FI=<((B
magic               toggle    on    different pattern matching characters
makeprg (mp)        string    "make" ':make'command$B$G8F$S=P$9%W%m%0%i%`L>(B
maxmem (mm)         number    512   How may Kbyte to use for one buffer
maxmemtot (mmt)     number    512   How may Kbyte to use for all buffers
modeline (ml)       toggle    on    $B%U%!%$%k$N%b!<%I9T@_Dj$rM-8z$K$9$k(B
modelines (mls)     number    5     $B%b!<%I9T$NB8:_$rD4$Y$k9THO0O(B
more                toggle    on    $BD9$$%j%9%HI=<(;~$O2hLLC10L$G0l;~Dd;_$9$k(B
number (nu)         toggle    off   $B9THV9f$rI=<($9$k(B
 $B%*%W%7%g%s(B($BN,5-(B)    type  default        effect
paragraphs (para)   string    "IPLPPPQPP LIpplpipbp"
                                    nroff macros that separate paragraphs
paste               toggle    off   paste mode: insert literally
patchmode (pm)      string    ""    extension to use when patching files
readonly (ro)       toggle    off   overwriting the file not allowed
remap               toggle    on    :map command works recursively
report              number    2     minimal number of lines for reporting
revins (ri)         toggle    off   insert characters right to left
ruler (ru)          toggle    off   show cursor position in status line
scroll              number    12    scroll size for CTRL-U and CTRL-D
scrolljump (sj)     number    1     minimal number of lines for scrolling
sections (sect)     string    "SHNHH HUnhsh"      macros separating sections
secure              toggle    off   security checks for .vimrc and .exrc
shell (sh)          string    "sh"  shell to use for ! and :! commands
shellpipe (sh)      string          pipe command to be used for :make
shelltype (st)      number    0     how to use the shell (Amiga only)
shiftround (sr)     toggle    off   round indent to shiftwidth with > and <
shiftwidth (sw)     number    8     number of spaces to use for (auto)indent
shortname (sn)      toggle    off   MSDOS-like filesystem being used
showcmd (sc)        toggle    on    show command in status line
showmatch (sm)      toggle    off   show matching bracket if one is inserted
option (shorthand)   type  default        effect
showmode (smd)      toggle    on    show insert/replace mode message
sidescroll (ss)     number    0     minimal nr of columns for horiz. scroll
smartindent (si)    toggle    off   do smart autoindenting
smarttab (sta)      toggle    off   tab size depends on position
splitbelow (sb)     toggle    off   create new windows below current one
suffixes (su)       string    ".bak.o.h.info.swp" suffixes that are ignored
                                    when multiple files match a wildcard
tabstop (ts)        number    8     number of spaces that a TAB counts for
taglength (tl)      number    0     if non-zero, tags are significant upto
                                        this number of characters
tagrelative (tr)    toggle    on    file names in tags file are relative
tags                string    "tags"   names of tag files
term                string    "amiga"   name of terminal
terse               toggle    off   make some messages shorter
textauto (ta)       toggle    on    detect line separator, (re)set 'textmode'
textmode (tx)       toggle    off   use <CR><LF> for line separator
textwidth (tw)      number    0     maximum width of a line in insert mode
tildeop (to)        toggle    off   tilde behaves like an operator
timeout             toggle    on    wait only 'tm' msec for mappings&key codes
option (shorthand)   type  default        effect
ttimeout            toggle    off   wait only 'tm' msec for key codes
timeoutlen (tm)     number    1000  milliseconds to wait for mappings&key codes
title               toggle    on    set window title to file name
ttyfast (tf)        toggle    off   don't use scroll commands for terminal
undolevels (ul)     number    100   number of changes that can be undone
                                        (0 for Vi compatibility)
updatecount (uc)    number    200   $B;XDj$7$?%-!<A`:n2s?tKh$K(B swap $B%U%!%$%k:n@.(B
updatetime (ut)     number    4000  $B;XDj$7$?;~4V(B(msec)$B7P2aKh$K(B swap file $B:n@.(B
visualbell (vb)     toggle    off   use visual instead of audible beep
warn                toggle    on    warn when changes and shell command used
weirdinvert (wi)    toggle    off   terminal has a weird invert behaviour
whichwrap (ww)      number    3     which left/right move commands wrap
wildchar (wc)       number    TAB   $B%3%^%s%I9TJd40$G;H$&%-!<%3!<%I;XDj(B
winheight (wh)      number    0     minimal number of lines for current window
wrap                toggle    on    $B?eJ?%9%/%m!<%k$N6X;_(B
wrapmargin (wm)     number    0     wrap text when at (columns - wrapmargin)
wrapscan (ws)       toggle    on    searches wrap around the end of the file
writeany (wa)       toggle    off   always write file without asking
writebackup (wb)    toggle    on    backup a file WHILE overwriting it
yankendofline (ye)  toggle    off   'Y' yanks from cursor to end of line
 Undo/Redo 
N  u            $B:G8e$NJQ99$r<h$j>C$9(B
N  CTRL-R       UNDO $B$rLa$9(B
   U            $B:G8e$KJQ99$7$?9T$NJQ99$r<h$j>C$9(B
 $B30It%3%^%s%I<B9T(B 
:sh             $B%7%'%k5/F0(B
:!{command}     $B%7%'%k%3%^%s%I$N<B9T(B
   K            $B%+%l%s%H%o!<%I$r0z?t$K$7$F%W%m%0%i%`(B'keywordprg'$B<B9T(B
 Quickfix $B%3%^%s%I(B 
:cc [nr]        $B%(%i!<I=<((B [nr] (default $B8=:_CmL\$7$F$$$k%(%i!<I=<((B)
:cn             $B<!$N%(%i!<I=<((B
:cp             $BA0$N%(%i!<I=<((B
:cl             $BA4It$N%(%i!<FbMF$rI=<($9$k(B
:cf             $B%(%i!<%U%!%$%k$r?7$?$KFI$_9~$`(B
:cq             $B%3%s%Q%$%i$N%(%i!<%3!<%I$r;}$C$F6/@)=*N;(B
:make [args]    make $B$r<B9T8e%(%i!<FbMF$rFI$_9~$_:G=i$N%(%i!<9T$K%8%c%s%W$9$k(B
 $B$=$NB>$N%3%^%s%I(B 
   CTRL-L       $B2hLL$N:FIA2h(B
   CTRL-G       $B%U%!%$%kL>(B,$B%+!<%=%k0LCV>pJs$NI=<((B
   CTRL-C       $B=hM}CfCG(B
   <DEL>        $BD>A0$KF~NO$7$?2s?t;XDjCM$r<h$j>C$9(B
:vers           VIM $B$N%P!<%8%g%sI=<((B
:mode N         MSDOS: set screen mode to N (number, C80, C4350, etc.)
 $B%3%^%s%I9TJT=8(B 
<ESC>              $B%3%^%s%I%b!<%I=*N;(B
CTRL-V {char}      $B%3%s%H%m!<%k%3!<%IF~NO(B
CTRL-V {number}    8$B?J?t?tCM$K$h$k%3!<%IF~NO(B($B?tCM(B3$B7eI,MW(B)
[$B"+(B]/[$B"*(B]          $B%+!<%=%k0\F0(B
SHIFT+[$B"+(B]/[$B"*(B]    $B%+!<%=%k%o!<%I0\F0(B
CTRL-B/CTRL-E      $B9T$N@hF,(B/$B:G=*0LCV$X0\F0(B
<BS>               $B%+!<%=%k0LCV$NA0$NJ8;z:o=|(B
<DEL>              $B%+!<%=%k0LCV$NJ8;z:o=|(B
CTRL-W             $B%o!<%I:o=|(B
CTRL-U             $B9TFbMFA4:o=|(B
[$B",(B]/[$B"-(B]          $B%3%^%s%I9T%R%9%H%j(B
[SC_UP]/[SC_DOWN]  $B%3%^%s%I9T%R%9%H%j(B(ROLLUP/ROLLDOWN)

 $B%3%^%s%I9TJd40(B 
'wildchar'  (def. <TAB>)  $B%+!<%=%k0LCV$NC18l$rJd40$9$k(B
CTRL-D             $B%^%C%A$9$kC18l$N%j%9%H$rI=<($9$k(B
CTRL-A             $B%^%C%A$9$kC18lA4It$r<h$j9~$`(B
CTRL-L             $B8uJd$,J#?t$"$k>l9g:GBg%^%C%A$9$k0LCV$^$GJd40$9$k(B
CTRL-N             $BJd40$N<!8!:w(B
CTRL-P             $BJd40$NA08!:w(B
 Ex $B%b!<%I$NHO0O;XDj(B 
,               2$B$D$N9THV9f$r(B,$B$G6h@Z$C$F;XDj$9$k(B
;               idem, set cursor to the first line number

{number}        $B@dBP9THV9f(B
.               $B%+%l%s%H9T(B($B%+!<%=%k9T(B)
$               $B%U%!%$%k$N:G=*9T(B
%               1,$ $B$HF1$8(B(1$B9TL\$+$i:G=*9T$^$G(B,$B$D$^$j%U%!%$%kA4BN(B)
't              t$B$N%^!<%/0LCV(B
/{pattern}      $B%Q%?!<%s%^%C%A$7$?9T(B
?{pattern}      $B%Q%?!<%s%^%C%A$7$?9T(B($B5U8!:w(B)

+[num]          $B9THV9f$N2C;;(B (default 1)
-[num]          $B9THV9f$N8:;;(B (default 1)

 Ex $BFC<lJ8;z(B 
    |           $B%3%^%s%I%;%Q%l!<%?(B (not for ":global" and ":!")
    "           $B%3%a%s%H(B
    #[number]   $BHV9f$G;XDj$7$?%U%!%$%k%M!<%`(B
    %           $B%+%l%s%H%U%!%$%k%M!<%`(B
    %<  or #<   idem, but without extension
 $B%U%!%$%kJT=8(B 
:e                      Edit the current file, unless changes have been made.
:e!                     Edit the current file always. Discard any changes.
:e[dit] {file}          Edit {file}, unless changes have been made.
:e[dit]! {file}         Edit {file} always. Discard any changes.
N   CTRL-^              Edit alternate file N (equivalent to ":e #N").
gf  or ]f               Edit the file whose name is under the cursor
:pwd                    $B%+%l%s%H%G%#%l%/%H%jL>I=<((B
:cd [path]              $B%+%l%s%H%G%#%l%/%H%j$rJQ99$9$k(B
:f[ile]                 $B%+%l%s%H$N%U%!%$%kL>(B,$B%+!<%=%k0LCV>pJs$rI=<($9$k(B
:f[ile] {name}          $B%+%l%s%H%U%!%$%kL>$r@_Dj$9$k(B
:files                  Show alternate file names.

Using the file list
:ar[gs]                 Print the file list, with the current file in "[]".
:all  or :sall          Open a window for every file.
:wn[ext][!]             Write file and edit next file.
:wn[ext][!] {file}      Write to {file} and edit next file, unless {file}
                        exists. With ! overwrite existing files.
:wN[ext][!] [file]      Write file and edit previous file.

in current window    in new window
:argu[ment] N        :sar[gument] N        Edit file N
:n[ext]              :sn[ext]              Edit next file
:n[ext] {filelist}   :sn[ext] {filelist}   define new list of files and edit
                                                the first one
:N[ext]              :sN[ext]              Edit previous file
:rew[ind][!]         :srew[ind]            Edit first file
:last                :slast                Edit last file

 $B=q$-9~$_$H=*N;(B 
:[range]w[rite][!]      $B%+%l%s%H%U%!%$%k$K=q$-9~$`(B
:[range]w[rite] {file}  $B;XDj%U%!%$%k$K=q$-9~$`(B({file}$B$,4{$K$"$k$H=q$-9~$a$J$$(B)
:[range]w[rite]! {file} $B;XDj%U%!%$%k$,B8:_$7$F$$$F$b=E$M=q$-$9$k(B
:[range]w[rite][!] >>   $B%+%l%s%H%U%!%$%k$KDI2C=q$-9~$_$9$k(B
:[range]w[rite][!] >> {file}
                        $B;XDj%U%!%$%k$KDI2C=q$-9~$_$9$k(B
:[range]w[rite] !{cmd}  $B;XDj%3%^%s%I$NI8=`F~NO$H$7$F<B9T$9$k(B
:wall[!]                $BA4It$N99?7$7$?%P%C%U%!$r%U%!%$%k$K=q$-9~$`(B

:q[uit]                 $B=*N;$9$k(B,$B99?7$7$F$"$k>l9g$O=*N;$G$-$J$$(B
:q[uit]!                $B99?7$,$"$C$?$H$7$F$b$=$l$rL5;k$7$F6/@)=*N;$9$k(B
:qall[!]                $BA4It$N%&%#%s%I%&%P%C%U%!$r=*N;$9$k(B
:cq                     $B%(%i!<%3!<%I$r;}$C$F6/@)=*N;$9$k(B
:wq[!]                  $B%+%l%s%H%U%!%$%k$K=q$-9~$s$G=*N;$9$k(B
:wq[!] {file}           $B;XDj%U%!%$%k$K=q$-9~$s$G=*N;$9$k(B
:x[it][!] [file]        $B99?7$5$l$F$$$l$P%U%!%$%k$K=q$-9~$s$G=*N;$9$k(B
   ZZ                   ":x" $B$HF1$8(B
:xall[!]  or :wqall[!]  $BA4It$N99?7$5$l$?%P%C%U%!$r=q$-9~$s$G=*N;$9$k(B

:st[op][!]              $B%5%9%Z%s%I$^$?$O%A%c%$%k%I%7%'%k5/F0(B.$B$b$7(B'aw'$B%*%W%7%g(B
                        $B%s$,@_Dj$5$l$F$$$F$+$D(B ! $B$,$J$1$l$P%P%C%U%!$r=q$-9~$`(B
CTRL-Z                  ":stop!" $B$HF1$8(B
 $B5/F0J}K!(B 
vim [options]           $B6u$N%P%C%U%!$GJT=83+;O(B
vim [options] {file ..} $B%U%!%$%k$NJT=83+;O(B($BJ#?t%U%!%$%k;XDj2DG=(B)
vim [options] -t {tag}  $B;XDj%?%0$N4^$^$l$k%U%!%$%k$rJT=8$9$k(B
vim [options] -e [fname] QuickFix mode $B$GJT=83+;O(B,$B:G=i$N%(%i!<$rI=<($9$k(B
 $B5/F0%*%W%7%g%s(B 
+[num]                  $B;XDj9T$+$iJT=8$r3+;O$9$k(B($B%G%U%)%k%H$G:G=*9T$+$i(B)
+/{pat} {file ..}       $B:G=i$K%Q%?!<%s$N8=$l$?9T$+$iJT=8$r3+;O$9$k(B
-v                      View $B%b!<%I(B(read-only) -n $B$N5!G=$b4^$`(B
-b                      $B%P%$%J%j!<%b!<%I(B
-r                      .swp $B%U%!%$%k$+$iJT=8Cf$N%U%!%$%k$rI|3h$5$;$k(B
-n                      .swp $B%U%!%$%k$r:n$i$J$$(B
-o [N]                  N $B8D$N%&%#%s%I%&$r3+$$$F5/F0$9$k(B
-x                      do not restart VIM to open a window (for e.g. mail)
-s {scriptin}           $B:G=i$K%3%^%s%I%9%/%j%W%H%U%!%$%k$rFI$_9~$^$;$k(B
-w {scriptout}          $B%?%$%W$7$?%-!<$rA4It%9%/%j%W%H%U%!%$%k$K=q$-=P$9(B
-T {terminal}           termcap $B$N%?!<%_%J%kL>$r;XDj$9$k(B
-d {device}             open {device} to be used as a console (Vim$B$G$OL$;HMQ(B)

 $B%U%!%$%kC10L$N<+F0%*%W%7%g%s@_Dj(B 
vim:{set-arg}: ..       $B%U%!%$%k$N@hF,$^$?$O:G=*9T$K(Bset$B%3%^%s%I$G;XDj$G$-$k(B
                        $B%*%W%7%g%s$r=q$/$3$H$,$G$-$k(B($B%b!<%I9T(B)
 $B%^%k%A%&%#%s%I%&5!G=(B 
CTRL-W s  or :split     $B%&%#%s%I%&$r(B2$B$D$KJ,$1$k(B
:split <file>           $BJ,3d$7$?%&%#%s%I%&$K%U%!%$%k$rFI$_9~$`(B
CTRL-W ]                $B%&%#%s%I%&$rJ,3d$7$F%+!<%=%k0LCV$N%?%0%8%c%s%W$9$k(B
CTRL-W f                $B%&%#%s%I%&$rJ,3d$7$F%+!<%=%k0LCV$N%U%!%$%k$rFI$_9~$`(B
CTRL-W n  or :new       $B6u$N?7$7$$%&%#%s%I%&$r3+$/(B
CTRL-W q  or :q[uit]    $B%&%#%s%I%&$rJD$8$FJT=8$rCf;_$9$k(B
CTRL-W c  or :cl[ose]   $B%&%#%s%I%&$rJD$8$k(B($BJT=8%P%C%U%!$O;D$k(B)
CTRL-W o  or :o[nly]    $B%+%l%s%H0J30$N%&%#%s%I%&$rA4ItJD$8$k(B

CTRL-W j                $B2<$N%&%#%s%I%&$K0\F0$9$k(B
CTRL-W k                $B>e$N%&%#%s%I%&$K0\F0$9$k(B
CTRL-W CTRL-W           $B<!$N%&%#%s%I%&$K?J$`(B
CTRL-W p                $BA0$N%&%#%s%I%&$KLa$k(B

CTRL-W r                $B%&%#%s%I%&$N0LCV$r8r49$9$k(B
CTRL-W R                $B%&%#%s%I%&$N0LCV$r8r49$9$k(B($B5U2sE>(B)
CTRL-W x                $B<!$N%&%#%s%I%&$H0LCV$r8r49$9$k(B

CTRL-W =                $BA4It$N%&%#%s%I%&$NBg$-$5$rF1$8$K$9$k(B
CTRL-W -                $B%+%l%s%H%&%#%s%I%&$r>.$5$/$9$k(B
CTRL-W +                $B%+%l%s%H%&%#%s%I%&$r9-$2$k(B
CTRL-W _                $B%+%l%s%H%&%#%s%I%&$NBg$-$5$r:GBg$^$G9-$2$k(B
 $B%P%C%U%!%j%9%H5!G=(B 
:buffers  or :files     $B%P%C%U%!$H%U%!%$%kL>$rA4ItI=<($9$k(B

:ball     or :sball     $BA4It$N%P%C%U%!$rJT=8>uBV$K$9$k(B
:unhide   or :sunhide   $BA4It$N6u$G$J$$%P%C%U%!$rI=$K=P$9(B

$B%+%l%s%H%&%#%s%I%&(B     $B?7%&%#%s%I%&(B
:[N]buffer [N]       :[N]sbuffer [N]       to arg/buf N
:[N]bnext [N]        :[N]sbnext [N]        to Nth next arg/buf
:[N]bNext [N]        :[N]sbNext [N]        to Nth previous arg/buf
:[N]bprevious [N]    :[N]sbprevious [N]    to Nth previous arg/buf
:brewind             :sbrewind             to first arg/buf
:blast               :sblast               to last arg/buf
:[N]bmod [N]         :[N]sbmod [N]         to Nth modified buf

:bunload[!] [N]          unload buffer [N] from memory
:bdelete[!] [N]          unload buffer [N] and delete it from the buffer list
