neovim/test/functional/legacy
zeertzjq 562719033e
vim-patch:9.1.0343: 'showcmd' wrong for partial mapping with multibyte (#28392)
Problem:  'showcmd' is wrong for partial mapping with multibyte char,
          and isn't very readable with modifyOtherKeys.
Solution: Decode multibyte char and merge modifiers into the char.
          (zeertzjq)

This improves the following situations:
- Multibyte chars whose individual bytes are considered unprintable are
  now shown properly in 'showcmd' area.
- Ctrl-W with modifyOtherKeys now shows ^W in 'showcmd' area.

The following situation may still need improvement:
- If the char is a special key or has modifiers that cannot be merged
  into it, internal keycodes are shown in 'showcmd' area like before.
  This applies to keys typed in Normal mode commands as well, and it's
  hard to decide how to make it more readable due to the limited space
  taken by 'showcmd', so I'll leave it for later.

closes: vim/vim#14572

acdfb8a979
2024-04-18 06:23:11 +08:00
..
002_filename_recognition_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
004_bufenter_with_modelines_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
005_bufleave_delete_buffer_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
007_ball_buffer_list_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
008_autocommands_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
011_autocommands_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
012_directory_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
015_alignment_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
018_unset_smart_indenting_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
019_smarttab_expandtab_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
020_blockwise_visual_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
021_control_wi_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
023_edit_arguments_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
025_jump_tag_hidden_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
026_execute_while_if_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
028_source_ctrl_v_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
029_join_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
030_fileformats_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
031_close_commands_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
033_lisp_indent_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
034_user_function_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
035_increment_and_decrement_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
036_regexp_character_classes_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
038_virtual_replace_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
039_visual_block_mode_commands_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
043_magic_settings_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
044_099_regexp_multibyte_magic_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
046_multi_line_regexps_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
054_buffer_local_autocommands_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
055_list_and_dict_types_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
056_script_local_function_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
057_sort_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
060_exists_and_has_functions_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
061_undo_tree_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
063_match_and_matchadd_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
065_float_and_logic_operators_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
066_visual_block_tab_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
067_augroup_exists_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
068_text_formatting_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
069_multibyte_formatting_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
072_undo_file_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
074_global_var_in_viminfo_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
078_swapfile_recover_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
081_coptions_movement_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
082_string_comparison_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
083_tag_search_with_file_encoding_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
090_sha256_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
091_context_variables_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
092_mksession_cursor_cols_utf8_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
093_mksession_cursor_cols_latin1_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
094_visual_mode_operators_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
095_regexp_multibyte_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
096_location_list_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
097_glob_path_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
101_hlsearch_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
102_fnameescape_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
103_visual_mode_reset_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
106_errorformat_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
107_adjust_window_and_contents_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
108_backtrace_debug_commands_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
arglist_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
assert_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
autochdir_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
autocmd_option_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
autocmd_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
autoformat_join_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
breakindent_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
changelist_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
charsearch_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
close_count_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
cmdline_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
command_count_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
comparators_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
conceal_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
cpoptions_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
crash_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
debugger_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
delete_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
digraph_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
display_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
edit_spec.lua vim-patch:9.1.0329: String interpolation fails for Dict type (#28335) 2024-04-15 07:11:39 +08:00
erasebackword_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
eval_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
ex_mode_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
excmd_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
fixeol_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
fnamemodify_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
fold_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
function_sort_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
getcwd_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
gf_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
glob2regpat_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
global_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
highlight_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
increment_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
insertcount_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
join_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
lispwords_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
listchars_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
listlbr_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
listlbr_utf8_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
mapping_spec.lua vim-patch:9.1.0343: 'showcmd' wrong for partial mapping with multibyte (#28392) 2024-04-18 06:23:11 +08:00
marks_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
match_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
matchparen_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
memory_usage_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
messages_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
mksession_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
move_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
nested_function_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
normal_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
number_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
options_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
prompt_buffer_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
put_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
qf_title_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
scroll_opt_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
search_mbyte_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
search_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
search_stat_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
signs_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
source_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
statusline_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
substitute_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
syn_attr_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
tabline_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
tagcase_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
textobjects_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
undolevels_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
utf8_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
vimscript_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
visual_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
window_cmd_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
wordcount_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00
writefile_spec.lua refactor(test): inject after_each differently 2024-04-10 15:53:50 +01:00