Extended Vi Cup -- in 42 Lines and 1742bytes
by Sven Guckes + Julius Plenz    [2007-03-16]
http://www.guckes.net/talks/vi_cup.txt
Latest change: Wed Apr 09 05:23:42 CEST 2008

Undo+Redo:  u CTRL-R             Reposition: zz zt zb zh zl zH zL zs ze
GotoLine:   G 23G gg             Scrolling:  ^E ^Y    ^D ^U    ^B ^F
Marks:      ma 'a `a '[

Movements:
Cursor:     h j k l              Searches:   / ? n N
Start/End:  0 ^ $ gm             FindChar:   fC FC tC TC , ;
Window:     H M L                CurrWord:   * #
JumpWord:   B E W  b e w         MatchPar:   %

Sentences:  ( )                  NumPref:    23G 42| 3yy 5dd 23p
Paragraphs: { }                  CommComb:   y2w yfC ytC dip
Sections:   [ ]                  Filter:     vip!par

Yanking (copy) + Pasting:        Macros:
Deleting1:  dd D d^ dw d3w       Macro1:     qCq@C, @q -> @@
Deleting2:  dtC dfC x X          Macro2:     qqCj@qq@q (recursive)
Yanking:    yy Y yfC ytC         Pasting:    p P "rp
Registers:  "yy$ "yp vip"vy      Transpose:  ddp xp

Deleting3+Changing+Substitution: D=d$ cw ciw C=c$ s S=0c$
Substitution (Search+Replace)    :%s/foo/bar/gc
Join/Sep:   J gJ r<ret>
Replacing:  r R R<c-r>"<esc>

Switching Modes:
Command->Insert1: a i o  A I O      Insert_Mode:
Command->Insert2: s cc c3w 20s C S  Deletions:  ^H ^W ^U
Command->CommandLine:  :            Expansions: ^P ^N  ^X^F
 Insert->Command: ESC
Command->Visual:  v V ^V gv         VisualOps: y d u U ! $ ~ g?

Buffers:    :ls :N :bn :bp :ba :b_foo :sb_foo
Windows1:   :new :close :only :quit :sp :vsp -> ^W + n c o q s v
Windows2:   ^W + hjkl HJKL | ^W + - | ^W r R | ^W x
Arguments:  :arg :next :prev :first :last :rew :n_`find ...`
Ex:         :f_file :w :wq :x  :q! :wq! :qa! :e_foo     EOF
