VimThe Vim Editor for Beginners#28

Register Repeats

qm/^sub<CR>4ly$/^{<CR>oprint "Entering <ESC>pa";<CR><ESC>q
sub hello
{
    my ($x,$y) = @_;
    print (($x+$y,"\n");
}
sub hello
{
    print "Entering hello\n";
    my ($x,$y) = @_;
    print (($x+$y,"\n");
}
Copyright © 2005 Shlomi Fish