summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2009-04-17 15:23:08 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2009-04-17 15:23:08 +0000
commit9b7d3a6e46e8d071dcc9eea78a53ffaf47e30f99 (patch)
tree28f1ec2667b45b115217d91410c57069da1f37f7
parent71c30e6481c1fd5257e758ef2806c8e7b0be4ba4 (diff)
downloadzsh-9b7d3a6e46e8d071dcc9eea78a53ffaf47e30f99.tar.gz
zsh-9b7d3a6e46e8d071dcc9eea78a53ffaf47e30f99.zip
users/14041: bind : by default to execute-named-cmd in vicmd 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,