Remove vi_arg_digit and vi_delete_to

They don't do anything anymore.
This commit is contained in:
Fabian Homborg 2019-12-25 10:44:27 +01:00
parent c0f2e842ad
commit e986970f4d
3 changed files with 0 additions and 11 deletions

View File

@ -121,8 +121,6 @@ static const input_function_metadata_t input_function_metadata[] = {
{readline_cmd_t::upcase_word, L"upcase-word"},
{readline_cmd_t::downcase_word, L"downcase-word"},
{readline_cmd_t::capitalize_word, L"capitalize-word"},
{readline_cmd_t::vi_arg_digit, L"vi-arg-digit"},
{readline_cmd_t::vi_delete_to, L"vi-delete-to"},
{readline_cmd_t::execute, L"execute"},
{readline_cmd_t::beginning_of_buffer, L"beginning-of-buffer"},
{readline_cmd_t::end_of_buffer, L"end-of-buffer"},

View File

@ -47,8 +47,6 @@ enum class readline_cmd_t {
upcase_word,
downcase_word,
capitalize_word,
vi_arg_digit,
vi_delete_to,
execute,
beginning_of_buffer,
end_of_buffer,

View File

@ -1065,8 +1065,6 @@ static bool command_ends_paging(readline_cmd_t c, bool focused_on_search_field)
case rl::upcase_word:
case rl::downcase_word:
case rl::capitalize_word:
case rl::vi_arg_digit:
case rl::vi_delete_to:
case rl::beginning_of_buffer:
case rl::end_of_buffer:
// These commands operate on the search field if that's where the focus is.
@ -3192,11 +3190,6 @@ void reader_data_t::handle_readline_command(readline_cmd_t c, readline_loop_stat
case rl::func_and: {
DIE("self-insert should have been handled by inputter_t::readch");
}
case rl::vi_arg_digit:
case rl::vi_delete_to: {
// TODO: what needs to happen with these?
break;
}
}
}