Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

keymap orthogonality



-----BEGIN PGP SIGNED MESSAGE-----

This patch adds a new hash table, for multi-character key bindings
in the alternate keymap.  (Note that multi-character bindings don't
really work at the moment, but I'm working on that.)  The obvious
bindkey syntax works.

This patch also improves the handling of meta key bindings.  At the
moment, "bindkey -m" can be used to bind meta keys to something
useful, but only in the main keymaps.  The keys are always bound in
the alternate keymap.  This patch changes the default so that the
meta keys are not bound in the alternate keymap, and "bindkey -am"
will bind them.

 -zefram

begin 644 keymap_patch.gz
M'XL("$3:MC$``VME>6UA<%]P871C:`#E/'M_VS:2?RN?`G9O:\FF'))ZVYMV
MG4>WOB9IKW6ZW2:NCY8@B[5$:DE*B=WZ/OO-#$`2)$'(KIUL[W?Z^2%R@,&\
M9P`"/`XF_,,!>QZ.'U_'L_.5/T_\(-Y?>,&CW=U=5KK7<$:C_F,;?GK,<0Z<
MP4'/:3C[_4?M=KN^;9\YG0.[<]`=($[U0V/T!M;(9G3)6!BQ9,;9>!5%/$C8
MK^$Y\Z<L"`/._)C%2S[VISZ?[$/3_9/O\.]WSYG]:(N]FSX]]X/));]Z-_V.
MO6O#]8*O)[*=%A[1M^FQ'[3C)/*#"[S>W]^OZ?-6]/+P^VFEWUN\,PX7P/E$
MM*C'1'CBS3CA.EPE5>*^>PXH3T!,U)DC!$855VN\"I>)'P8Q6ZX2$B>,N_"6
M,?,#QA?>.&:+<,)1UFN?O@*ZB*-P$W_-YU>'V.F*C;T@"!-VSMDJYA,6^XO5
M//$"'J[B^=5^3L`D'Q+1\"0&?-Y\SI!EH#QF22BT&BZ6_IQ/VD`'-$L0ML^.
M4;^)&..]G\PRZC/N`!W0FK%G$3)BZ+V/PW`VY].DR)V%7>".Y!"M"'H)5?QX
M_,.;HY=$=837+YX?GWS[/5ZOO<CWSN<\9OR#'R<DUG$8)!Y@PD&%*MCVVM_>
M!URO>.*A.;+QS(N\<<*CF'D19^?A"CH"US&?3X';F$<@QRLVX5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