diff options
author | Chet Ramey <chet.ramey@case.edu> | 2011-11-22 19:11:26 -0500 |
---|---|---|
committer | Chet Ramey <chet.ramey@case.edu> | 2011-11-22 19:11:26 -0500 |
commit | 495aee441b75276e38c75694ccb455bb6463fdb9 (patch) | |
tree | f12907dbf62388e6c65dfa1c5e1199509936707e /lib/readline/callback.c | |
parent | 30d188c2932d6ef609d894fefeb7e7b03ccff463 (diff) | |
download | android_external_bash-495aee441b75276e38c75694ccb455bb6463fdb9.tar.gz android_external_bash-495aee441b75276e38c75694ccb455bb6463fdb9.tar.bz2 android_external_bash-495aee441b75276e38c75694ccb455bb6463fdb9.zip |
Bash-4.2 distribution sources and documentation
Diffstat (limited to 'lib/readline/callback.c')
-rw-r--r-- | lib/readline/callback.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/readline/callback.c b/lib/readline/callback.c index 6c52ac0..4ee6361 100644 --- a/lib/readline/callback.c +++ b/lib/readline/callback.c @@ -142,6 +142,15 @@ rl_callback_read_char () eof = _rl_nsearch_callback (_rl_nscxt); return; } +#if defined (VI_MODE) + else if (RL_ISSTATE (RL_STATE_VIMOTION)) + { + eof = _rl_vi_domove_callback (_rl_vimvcxt); + /* Should handle everything, including cleanup, numeric arguments, + and turning off RL_STATE_VIMOTION */ + return; + } +#endif else if (RL_ISSTATE (RL_STATE_NUMERICARG)) { eof = _rl_arg_callback (_rl_argcxt); |