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_X.al
< prev
next >
Wrap
Text File
|
2005-04-27
|
573b
|
18 lines
# NOTE: Derived from lib/Term/ReadLine/Zoid/ViCommand.pm.
# Changes made here will be lost when autosplit is run again.
# See AutoSplit.pm.
package Term::ReadLine::Zoid::ViCommand;
#line 657 "lib/Term/ReadLine/Zoid/ViCommand.pm (autosplit into blib/lib/auto/Term/ReadLine/Zoid/ViCommand/vi_X.al)"
sub vi_X {
my ($self, $key, $cnt) = @_;
if ($key eq 'X') {
return $self->bell if $$self{pos}[0] < $cnt;
$$self{pos}[0] -= $cnt;
}
$$self{killbuf} = substr $$self{lines}[ $$self{pos}[1] ], $$self{pos}[0], $cnt, '';
}
# end of Term::ReadLine::Zoid::ViCommand::vi_X
1;