The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Term::ReadLine::Zoid::Emacs - a readline emacs mode

SYNOPSIS

This class is used as a mode under Term::ReadLine::Zoid, see there for usage details.

DESCRIPTION

This mode provides some emacs key-bindings, taking the bash(1) implementation as a reference.

This module also provides a 'emac_multiline' key map.

KEY MAPPING

These bindings are additional to those in Term::ReadLine::Zoid which already contains some emacs key bindings.

escape, ^[ (prefix_meta)
meta-f (forward_word)
meta-b (backward_word)
^X^V (switch_mode_command)

Enter (vi) command mode. Taken from zsh(1).

^V, ^Q (quoted_insert)

Insert next key literally, ignoring any key-bindings.

WARNING: control or escape chars in the editline can cause unexpected results

TODO

Get count args right (see bash reference)

A lot more bindings

A emacs multiline mode

AUTHOR

Jaap Karssenberg (Pardus) <pardus@cpan.org>

Copyright (c) 2004 Jaap G Karssenberg. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

Term::ReadLine::Zoid