diff options
author | Stu Grossman <grossman@cygnus> | 1991-11-19 05:59:18 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1991-11-19 05:59:18 +0000 |
commit | 870ca2534097fc727b6762fab958fad76722d638 (patch) | |
tree | 45e293360e93ebd8320410c8b9b65fb6729f13ff /readline/vi_keymap.c | |
parent | c5bbc6ea4136d242ea345285f0758826d019dbaf (diff) | |
download | gdb-870ca2534097fc727b6762fab958fad76722d638.zip gdb-870ca2534097fc727b6762fab958fad76722d638.tar.gz gdb-870ca2534097fc727b6762fab958fad76722d638.tar.bz2 |
Integrate new readline from Brian Fox.
Diffstat (limited to 'readline/vi_keymap.c')
-rw-r--r-- | readline/vi_keymap.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/readline/vi_keymap.c b/readline/vi_keymap.c index 81fbb9b..5464dad 100644 --- a/readline/vi_keymap.c +++ b/readline/vi_keymap.c @@ -19,9 +19,9 @@ along with Readline; see the file COPYING. If not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ -#ifndef FILE +#ifndef BUFSIZ #include <stdio.h> -#endif /* FILE */ +#endif /* BUFSIZ */ #include "readline.h" @@ -39,7 +39,7 @@ KEYMAP_ENTRY_ARRAY vi_movement_keymap = { { ISFUNC, rl_emacs_editing_mode }, /* Control-e */ { ISFUNC, (Function *)0x0 }, /* Control-f */ { ISFUNC, rl_abort }, /* Control-g */ - { ISFUNC, rl_backward }, /* Control-h */ + { ISFUNC, rl_rubout }, /* Control-h */ { ISFUNC, (Function *)0x0 }, /* Control-i */ { ISFUNC, rl_newline }, /* Control-j */ { ISFUNC, rl_kill_line }, /* Control-k */ @@ -99,7 +99,7 @@ KEYMAP_ENTRY_ARRAY vi_movement_keymap = { { ISFUNC, (Function *)0x0 }, /* : */ { ISFUNC, rl_vi_char_search }, /* ; */ { ISFUNC, (Function *)0x0 }, /* < */ - { ISFUNC, (Function *)0x0 }, /* = */ + { ISFUNC, rl_vi_complete }, /* = */ { ISFUNC, (Function *)0x0 }, /* > */ { ISFUNC, rl_vi_search }, /* ? */ { ISFUNC, (Function *)0x0 }, /* @ */ @@ -111,7 +111,7 @@ KEYMAP_ENTRY_ARRAY vi_movement_keymap = { { ISFUNC, rl_vi_delete_to }, /* D */ { ISFUNC, rl_vi_end_word }, /* E */ { ISFUNC, rl_vi_char_search }, /* F */ - { ISFUNC, (Function *)0x0 }, /* G */ + { ISFUNC, rl_vi_fetch_history }, /* G */ { ISFUNC, (Function *)0x0 }, /* H */ { ISFUNC, rl_vi_insert_beg }, /* I */ { ISFUNC, (Function *)0x0 }, /* J */ @@ -134,7 +134,7 @@ KEYMAP_ENTRY_ARRAY vi_movement_keymap = { /* Some more punctuation. */ { ISFUNC, (Function *)0x0 }, /* [ */ - { ISFUNC, (Function *)0x0 }, /* \ */ + { ISFUNC, rl_vi_complete }, /* \ */ { ISFUNC, (Function *)0x0 }, /* ] */ { ISFUNC, rl_vi_first_print }, /* ^ */ { ISFUNC, rl_vi_yank_arg }, /* _ */ |