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_home.al < prev    next >
Text File  |  2005-04-27  |  476b  |  16 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 491 "lib/Term/ReadLine/Zoid/ViCommand.pm (autosplit into blib/lib/auto/Term/ReadLine/Zoid/ViCommand/vi_home.al)"
  7. sub vi_home {
  8.     my $self = shift;
  9.     $$self{lines}[ $$self{pos}[1] ] =~ /^(\s*)/;
  10.     $$self{pos}[0] = length $1;
  11.     return 1;
  12. }
  13.  
  14. # end of Term::ReadLine::Zoid::ViCommand::vi_home
  15. 1;
  16.