Import readline 7.0 (patch 5)
[deliverable/binutils-gdb.git] / readline / vi_keymap.c
index ba5a27ba6df14a1ed2922377a1880d592345078f..e5da2e0fa0b572ce0e3aa938b6a1076e2ed787fc 100644 (file)
@@ -1,6 +1,6 @@
 /* vi_keymap.c -- the keymap for vi_mode in readline (). */
 
-/* Copyright (C) 1987-2009 Free Software Foundation, Inc.
+/* Copyright (C) 1987-2016 Free Software Foundation, Inc.
 
    This file is part of the GNU Readline Library (Readline), a library
    for reading lines of text with interactive input and history editing.      
@@ -55,7 +55,7 @@ KEYMAP_ENTRY_ARRAY vi_movement_keymap = {
   { ISFUNC, rl_transpose_chars },              /* Control-t */
   { ISFUNC, rl_unix_line_discard },            /* Control-u */
   { ISFUNC, rl_quoted_insert },                        /* Control-v */
-  { ISFUNC, rl_unix_word_rubout },             /* Control-w */
+  { ISFUNC, rl_vi_unix_word_rubout },          /* Control-w */
   { ISFUNC, (rl_command_func_t *)0x0 },                /* Control-x */
   { ISFUNC, rl_yank },                         /* Control-y */
   { ISFUNC, (rl_command_func_t *)0x0 },                /* Control-z */
@@ -309,7 +309,6 @@ KEYMAP_ENTRY_ARRAY vi_movement_keymap = {
 #endif /* KEYMAP_SIZE > 128 */
 };
 
-
 KEYMAP_ENTRY_ARRAY vi_insertion_keymap = {
   /* The regular control keys come first. */
   { ISFUNC, (rl_command_func_t *)0x0 },                /* Control-@ */
@@ -335,7 +334,7 @@ KEYMAP_ENTRY_ARRAY vi_insertion_keymap = {
   { ISFUNC, rl_transpose_chars },              /* Control-t */
   { ISFUNC, rl_unix_line_discard },            /* Control-u */
   { ISFUNC, rl_quoted_insert },                        /* Control-v */
-  { ISFUNC, rl_unix_word_rubout },             /* Control-w */
+  { ISFUNC, rl_vi_unix_word_rubout },          /* Control-w */
   { ISFUNC, rl_insert },                       /* Control-x */
   { ISFUNC, rl_yank },                         /* Control-y */
   { ISFUNC, rl_insert },                       /* Control-z */
This page took 0.050258 seconds and 4 git commands to generate.