home *** CD-ROM | disk | FTP | other *** search
/ PC World 2005 December (Special) / PCWorld_2005-12_Special_cd.bin / Bezpecnost / lsti / lsti.exe / framework-2.5.exe / vi_G.al < prev    next >
Text File  |  2005-04-27  |  511b  |  15 lines

  1. # NOTE: Derived from lib/Term/ReadLine/Zoid/ViCommand.pm.
  2. # Changes made here will be lost when autosplit is run again.
  3. # See AutoSplit.pm.
  4. package Term::ReadLine::Zoid::ViCommand;
  5.  
  6. #line 783 "lib/Term/ReadLine/Zoid/ViCommand.pm (autosplit into blib/lib/auto/Term/ReadLine/Zoid/ViCommand/vi_G.al)"
  7. sub vi_G {
  8.     return $_[0]->bell if $_[2] > @{$_[0]{history}};
  9.     $_[0]->set_history( @{$_[0]{history}} - $_[2] );
  10.     # we keep the history in the reversed direction
  11. }
  12.  
  13. # end of Term::ReadLine::Zoid::ViCommand::vi_G
  14. 1;
  15.