# 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;
