[asterisk-commits] seanbright: branch seanbright/editline-update r261819 - /team/seanbright/edit...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu May 6 15:38:23 CDT 2010
Author: seanbright
Date: Thu May 6 15:38:20 2010
New Revision: 261819
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=261819
Log:
Use working names for various vi bindings.
Although the documentation threatens that vi-next-space-word and vi-prev-space-word will
work, none of the code backs this up. The closest I could find in the code is vi-next-
big-word and vi-prev-big-word which is vague enough for me to change them altogether to
vi-next-word and vi-prev-word.
Modified:
team/seanbright/editline-update/main/asterisk.c
Modified: team/seanbright/editline-update/main/asterisk.c
URL: http://svnview.digium.com/svn/asterisk/team/seanbright/editline-update/main/asterisk.c?view=diff&rev=261819&r1=261818&r2=261819
==============================================================================
--- team/seanbright/editline-update/main/asterisk.c (original)
+++ team/seanbright/editline-update/main/asterisk.c Thu May 6 15:38:20 2010
@@ -2554,8 +2554,8 @@
el_set(el, EL_BIND, "\\e[1~", "ed-move-to-beg", NULL);
el_set(el, EL_BIND, "\\e[4~", "ed-move-to-end", NULL);
/* Bind C-left and C-right to move by word (not all terminals) */
- el_set(el, EL_BIND, "\\eOC", "vi-next-space-word", NULL);
- el_set(el, EL_BIND, "\\eOD", "vi-prev-space-word", NULL);
+ el_set(el, EL_BIND, "\\eOC", "vi-next-word", NULL);
+ el_set(el, EL_BIND, "\\eOD", "vi-prev-word", NULL);
/* Allow ~/.editrc or a file specified by EDITRC env to override */
el_source(el, NULL);
More information about the asterisk-commits
mailing list