summaryrefslogtreecommitdiff
path: root/Src/Zle/zle_bindings.c
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2000-12-16 16:25:41 +0000
committerClint Adams <clint@users.sourceforge.net>2000-12-16 16:25:41 +0000
commitfe8a55b640256711e81b94f9488ec7bdd8d1e956 (patch)
treed12bd98e84b165a77d94912e99979ea6b2b57e18 /Src/Zle/zle_bindings.c
parent35ac156d869f6e99131c2dff6e9e7c9f1123c5e4 (diff)
downloadzsh-fe8a55b640256711e81b94f9488ec7bdd8d1e956.tar.gz
zsh-fe8a55b640256711e81b94f9488ec7bdd8d1e956.zip
13285: use vi-up and -down in vicmd mode
Diffstat (limited to 'Src/Zle/zle_bindings.c')
-rw-r--r--Src/Zle/zle_bindings.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/Src/Zle/zle_bindings.c b/Src/Zle/zle_bindings.c
index 40e555ad1..67acc15f9 100644
--- a/Src/Zle/zle_bindings.c
+++ b/Src/Zle/zle_bindings.c
@@ -69,7 +69,7 @@ widgets[] = {
*/
/**/
-struct thingy thingies[] = {
+mod_export struct thingy thingies[] = {
#define T(name, th_flags, w_idget, t_next) \
{ NULL, name, th_flags, 2, w_idget, t_next },
#include "thingies.list"
@@ -200,9 +200,9 @@ int metabind[128] = {
/* M-K */ z_undefinedkey,
/* M-L */ z_downcaseword,
/* M-M */ z_undefinedkey,
- /* M-N */ z_historybeginningsearchforward,
+ /* M-N */ z_historysearchforward,
/* M-O */ z_undefinedkey,
- /* M-P */ z_historybeginningsearchbackward,
+ /* M-P */ z_historysearchbackward,
/* M-Q */ z_pushline,
/* M-R */ z_undefinedkey,
/* M-S */ z_spellword,
@@ -232,9 +232,9 @@ int metabind[128] = {
/* M-k */ z_undefinedkey,
/* M-l */ z_downcaseword,
/* M-m */ z_undefinedkey,
- /* M-n */ z_historybeginningsearchforward,
+ /* M-n */ z_historysearchforward,
/* M-o */ z_undefinedkey,
- /* M-p */ z_historybeginningsearchbackward,
+ /* M-p */ z_historysearchbackward,
/* M-q */ z_pushline,
/* M-r */ z_undefinedkey,
/* M-s */ z_spellword,
@@ -396,8 +396,8 @@ int vicmdbind[128] = {
/* g */ z_undefinedkey,
/* h */ z_vibackwardchar,
/* i */ z_viinsert,
- /* j */ z_downlineorhistory,
- /* k */ z_uplineorhistory,
+ /* j */ z_vidownlineorhistory,
+ /* k */ z_viuplineorhistory,
/* l */ z_viforwardchar,
/* m */ z_visetmark,
/* n */ z_virepeatsearch,