version 1.1.1.1, 2014/07/30 08:16:45
|
version 1.1.1.2, 2021/03/17 01:01:01
|
Line 1
|
Line 1
|
/* vi_keymap.c -- the keymap for vi_mode in readline (). */ |
/* vi_keymap.c -- the keymap for vi_mode in readline (). */ |
|
|
/* Copyright (C) 1987-2009 Free Software Foundation, Inc. | /* Copyright (C) 1987-2017 Free Software Foundation, Inc. |
|
|
This file is part of the GNU Readline Library (Readline), a library |
This file is part of the GNU Readline Library (Readline), a library |
for reading lines of text with interactive input and history editing. |
for reading lines of text with interactive input and history editing. |
Line 55 KEYMAP_ENTRY_ARRAY vi_movement_keymap = {
|
Line 55 KEYMAP_ENTRY_ARRAY vi_movement_keymap = {
|
{ ISFUNC, rl_transpose_chars }, /* Control-t */ |
{ ISFUNC, rl_transpose_chars }, /* Control-t */ |
{ ISFUNC, rl_unix_line_discard }, /* Control-u */ |
{ ISFUNC, rl_unix_line_discard }, /* Control-u */ |
{ ISFUNC, rl_quoted_insert }, /* Control-v */ |
{ 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_command_func_t *)0x0 }, /* Control-x */ |
{ ISFUNC, rl_yank }, /* Control-y */ |
{ ISFUNC, rl_yank }, /* Control-y */ |
{ ISFUNC, (rl_command_func_t *)0x0 }, /* Control-z */ |
{ ISFUNC, (rl_command_func_t *)0x0 }, /* Control-z */ |
Line 334 KEYMAP_ENTRY_ARRAY vi_insertion_keymap = {
|
Line 334 KEYMAP_ENTRY_ARRAY vi_insertion_keymap = {
|
{ ISFUNC, rl_transpose_chars }, /* Control-t */ |
{ ISFUNC, rl_transpose_chars }, /* Control-t */ |
{ ISFUNC, rl_unix_line_discard }, /* Control-u */ |
{ ISFUNC, rl_unix_line_discard }, /* Control-u */ |
{ ISFUNC, rl_quoted_insert }, /* Control-v */ |
{ 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_insert }, /* Control-x */ |
{ ISFUNC, rl_yank }, /* Control-y */ |
{ ISFUNC, rl_yank }, /* Control-y */ |
{ ISFUNC, rl_insert }, /* Control-z */ |
{ ISFUNC, rl_insert }, /* Control-z */ |