zed/crates/vim/test_data
joaquin30 bf9b443b4a
vim: Support gn command and remap gn to gl (#9982)
Release Notes:

- Resolves #4273

@algora-pbc /claim #4273

This is a work-in-progress. The process for `gn` command is:

- maintain updated vim.workspace_state.search.initial_query
- modify editor.select_next_state with
vim.workspace_state.search.initial_query
- use editor.select_next()
- merge selections
- set editor.select_next_state to previous state

To make this possible, several private members and editor structures are
made public. `gN` is not yet implemented and the cursor still does not
jump to the next selection in the first use.

Maybe there is an better way to do this?

---------

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
2024-04-05 20:23:37 -06:00
..
neovim_backed_test_context_works.json
test_a.json
test_b.json
test_backspace.json
test_capital_f_and_capital_t.json
test_cc.json
test_cgn_repeat.json vim: Support gn command and remap gn to gl (#9982) 2024-04-05 20:23:37 -06:00
test_change_0.json
test_change_b.json
test_change_backspace.json
test_change_case.json
test_change_cc.json vim: Make cc and S auto-indent (#9731) 2024-03-28 07:01:00 +01:00
test_change_e.json
test_change_end_of_document.json
test_change_end_of_line.json
test_change_gg.json
test_change_h.json
test_change_j.json
test_change_k.json
test_change_l.json
test_change_paragraph_object.json vim: Add support for ap and ip paragraph text objects (#7687) 2024-03-04 16:39:02 -07:00
test_change_sentence_object.json
test_change_surrounding_character_objects.json
test_change_w.json
test_change_word_object.json
test_clear_counts.json
test_comma_semicolon.json
test_comma_w.json
test_command_basics.json
test_command_goto.json
test_command_replace.json
test_command_search.json
test_convert_to_lower_case.json
test_convert_to_upper_case.json
test_ctrl_d_u.json
test_dd.json
test_delete_0.json
test_delete_b.json
test_delete_end_of_document.json
test_delete_end_of_line.json
test_delete_gg.json
test_delete_h.json
test_delete_j.json
test_delete_k.json
test_delete_l.json
test_delete_left.json
test_delete_next_word_end.json
test_delete_paragraph_object.json vim: Add support for ap and ip paragraph text objects (#7687) 2024-03-04 16:39:02 -07:00
test_delete_sentence_object.json
test_delete_surrounding_character_objects.json
test_delete_to_adjacent_character.json
test_delete_to_end_of_line.json
test_delete_w.json
test_delete_with_counts.json
test_delete_word_object.json
test_dgn_repeat.json vim: Support gn command and remap gn to gl (#9982) 2024-04-05 20:23:37 -06:00
test_dot_repeat.json
test_end_of_document.json
test_end_of_line_with_neovim.json
test_end_of_word.json
test_enter.json
test_enter_visual_line_mode.json
test_enter_visual_mode.json
test_f_and_t.json
test_folds.json
test_folds_panic.json
test_gg.json
test_gn.json vim: Support gn command and remap gn to gl (#9982) 2024-04-05 20:23:37 -06:00
test_h.json
test_h_through_unicode.json
test_increment.json
test_increment_radix.json
test_increment_steps.json
test_insert_end_of_line.json
test_insert_first_non_whitespace.json
test_insert_line_above.json
test_insert_with_counts.json
test_insert_with_repeat.json
test_j.json
test_jk.json
test_join_lines.json
test_jump_to_end.json
test_jump_to_first_non_whitespace.json
test_jump_to_line_boundaries.json
test_k.json
test_l.json
test_matching.json
test_multiline_surrounding_character_objects.json
test_neovim.json
test_next_line_start.json
test_next_word_end_newline_last_char.json
test_o.json
test_paragraph_object_with_landing_positions_not_at_beginning_of_line.json vim: Add support for ap and ip paragraph text objects (#7687) 2024-03-04 16:39:02 -07:00
test_paragraphs_dont_wrap.json
test_paste.json
test_paste_visual.json
test_paste_visual_block.json
test_percent.json
test_previous_word_end.json
test_repeat_motion_counts.json
test_repeat_over_blur.json
test_repeat_visual.json
test_repeated_cb.json
test_repeated_ce.json
test_repeated_cj.json
test_repeated_cl.json
test_repeated_word.json
test_replace_mode.json vim: Add Multi Replace mode in Vim (#8469) 2024-03-14 20:31:53 -06:00
test_replace_mode_undo.json vim: Add Multi Replace mode in Vim (#8469) 2024-03-14 20:31:53 -06:00
test_selection_goal.json
test_singleline_surrounding_character_objects.json
test_start_end_of_paragraph.json
test_substitute_line.json
test_undo.json Improve vim undo (#9317) 2024-03-13 23:12:12 -06:00
test_visual_block_insert.json
test_visual_block_issue_2123.json
test_visual_block_mode.json
test_visual_change.json
test_visual_delete.json
test_visual_line_change.json
test_visual_line_delete.json
test_visual_match_eol.json vim: fix v$% (#10051) 2024-04-01 14:18:09 -06:00
test_visual_object.json
test_visual_paragraph_object.json vim: Add support for ap and ip paragraph text objects (#7687) 2024-03-04 16:39:02 -07:00
test_visual_sentence_object.json
test_visual_star_hash.json
test_visual_word_object.json
test_visual_yank.json
test_w.json
test_window_bottom.json
test_window_middle.json
test_window_top.json
test_wrapped_lines.json
test_wrapped_motions.json
test_x.json
test_zero.json