about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Doc/Zsh/zle.yo2
-rw-r--r--Src/Zle/zle_bindings.c2
3 files changed, 6 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index d71bbd1bd..57ef61510 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2009-04-17  Peter Stephenson  <pws@csr.com>
 
+	* users/14041: Doc/Zsh/zle.yo, Src/Zle/zle_bindings.c: bind ":"
+	by default to execute-named-cmd in vicmd mode.
+
 	* unposted: Config/version.mk: change version to 4.3.9.dev-2.
 
 	* Jesse W: 26840: Doc/Zsh/manual.yo: texi2html instructions.
@@ -11564,5 +11567,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.4654 $
+* $Revision: 1.4655 $
 *****************************************************
diff --git a/Doc/Zsh/zle.yo b/Doc/Zsh/zle.yo
index 94484b9b5..224023752 100644
--- a/Doc/Zsh/zle.yo
+++ b/Doc/Zsh/zle.yo
@@ -1871,7 +1871,7 @@ If a zero prefix argument is given, the region is activated but
 point and mark are not swapped.
 )
 tindex(execute-named-cmd)
-item(tt(execute-named-cmd) (ESC-x) (unbound) (unbound))(
+item(tt(execute-named-cmd) (ESC-x) (:) (unbound))(
 Read the name of an editor command and
 execute it.  A restricted set of editing functions is available in the
 mini-buffer.  Keys are looked up in the special
diff --git a/Src/Zle/zle_bindings.c b/Src/Zle/zle_bindings.c
index e95061df2..682691347 100644
--- a/Src/Zle/zle_bindings.c
+++ b/Src/Zle/zle_bindings.c
@@ -348,7 +348,7 @@ int vicmdbind[128] = {
     /* 7 */ z_digitargument,
     /* 8 */ z_digitargument,
     /* 9 */ z_digitargument,
-    /* : */ z_undefinedkey,
+    /* : */ z_executenamedcmd,
     /* ; */ z_virepeatfind,
     /* < */ z_viunindent,
     /* = */ z_listchoices,